Which controls have ViewState maintained?
I am trying to wrap my head around the control infrastructure to understand which ones ASP.NET maintains view state for.
I am trying to wrap my head around the control infrastructure to understand which ones ASP.NET maintains view state for.
I saw that __VIEWSTATE field gets rendered even though I have set the EnableViewState=”false” at the page level. This field is not rendered if I remove runat=”server” tag for the form element. Can somebody please explain this?
On postback: How can I access ASP.NET controls in my code-behind file, which are added programmatically?
hi
i bind a DataTable to a gridview.
i want to use the DataTable in some postback event, and ii want to use viewstate.
does gridview save data in viewstate? if no what is the best way to do this.
Our QA team reported that one of our applications is not working in Safari in Windows 7. After checking the problem we figured out that any postback event is not working. After some tries we found that Page.IsPostback() reports false and thinks it’s a first-time load of the page and postback did not include ViewState.
What ASP.NET page lifecycle event can I write code in to determine the size of the viewstate that being sent out? Also, is it possible to determine the size without parsing through the rendered HTML (like a property on the page object) or is parsing the only way?
Other than because session storage is session-global to more than one page, why would you ever want to use the viewstate to hold values?
How to minimize viewstate size of a page in asp.net?
Please help.
I am looking for an enhancement to JSON that will also serialize methods. I have an object that acts as a collection of objects, and would like to serialize the methods of the collection object as well. So far I’ve located ClassyJSON. Any thoughts?
I’m trying to build a very, very simple “micro-webapp” which I suspect will be of interest to a few Stack Overflow’rs if I ever get it done. I’m hosting it on my C# in Depth site, which is vanilla ASP.NET 3.5 (i.e. not MVC).