﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Visible false Column in Web grid to save value .</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Visible-false-Column-in-Web-grid-to-save-value-/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Visible false Column in Web grid to save value .</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Visible-false-Column-in-Web-grid-to-save-value-/</link><pubDate>Mon, 07 Jan 2013 20:40:27 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;For your information, in the sample attached in my previous post, the JavaScript function is not called on the window.unload. It is called on the window.onload.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I’m willing to advice you further but in order to do so I would need you to elaborate on your specific scenario and give me a running simple sample which replicates the reported problem and step-by-step guide that I can use to observe the problematic behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;If possible, you may make any changes to the sample I sent on December 17, 2012 until it replicates the problem. The modified sample will helps me much to find what may cause the problematic behavior.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Visible false Column in Web grid to save value .</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Visible-false-Column-in-Web-grid-to-save-value-/</link><pubDate>Thu, 03 Jan 2013 09:52:37 GMT</pubDate><dc:creator>Rajee</dc:creator><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;Thank For your reply. Actually sample which you sent is not helping me much. First of all my fucntion is not Called on the  Window.Unload. So i called it on page load of client side.&lt;/p&gt;
&lt;p&gt;It Hides the column for me. But when i double click on the grid to populate the controls on the top. It gives me error with the hidden column.&lt;/p&gt;
&lt;p&gt;And for the add button when i enter the row in the grid the column doesnt hide. My button is calling client side function. No postback is happning.&lt;/p&gt;
&lt;p&gt;Please help me.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Visible false Column in Web grid to save value .</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Visible-false-Column-in-Web-grid-to-save-value-/</link><pubDate>Mon, 17 Dec 2012 22:27:32 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;From your description, I assume that you need to have ID column to be hidden. HiddenDataMember feature doesn’t fit your need due to the fact that the hidden data will become read-only. Could you please let us know if there is any need to be able to edit the text/value of the hidden data?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Set the Visible property to False doesn’t suit the scenario as well. It seems that you have a need to access the hidden column on client side.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I tried to create a simple sample based on your description. The sample uses JavaScript function to hide “CompanyName” column of Shippers table (from Northwind database) in on load of window.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;The trick to access and and set a new value/text of the hidden column is to get the column to be visible (so that we can access it from client-side); set the new value/text; update the changes; then set back the column to be hidden.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I enclosed the sample as attachment. Please let us hear your feedback whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Visible false Column in Web grid to save value .</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Visible-false-Column-in-Web-grid-to-save-value-/</link><pubDate>Mon, 17 Dec 2012 06:26:20 GMT</pubDate><dc:creator>Rajee</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have controls above the grid and on add button it adds row in the grid. I need one column in the grus  to Save the ID as i need to save the same on save button. Hiddendatamember is read only column. Visible false are accesed on the client side and column with size zero does not work for the Fire fox and Chrome. Can you please help??&lt;/p&gt;</description></item></channel></rss>