I need to store IDs (Contact IDs, Claim IDs, etc.)开发者_运维问答 between multiple .aspx pages.
I\'m getting 100+ errors per day on my website with System.Web.HttpException: Invalid viewstate. The website is asp.net 3.5 running on iis6 , not running in a web-garden/web-farm , single server.
In a page, i put a gridview with several template field columns. In one of the template field, i have a linkbutton. Before postback i bind the grid with data. Once page loads, when i click the linkbut
i add user control dynamcly to the page and trying to save to viewstate when i triyed to save the placeholder to the view state i got this error
What is the best option to store data pertaining to dynamic controls.Here is my scenario. At any time around 5 to 15 master tables to retreive from.
So I need to serialize a generic dictionary like Dictionary<long, List<MyClass>>.I need to serialize it to store it in the ViewState of an ASP.Net application.
I use \'n\' number of server controls in my page.Now I am into performance tuning and I\'ve noticed that my ViewState is too large and it makes my page slow.
I have one XML document which I want to store it inside ViewState so on each post back I do not need to load it from its physical path again. I do not want to store it in SessionState as well.
I have created a custom Server control that processes some data, stores that data to ViewState, and then renders itself from that data.I am using the debugger and can physically see the data getting s
Rather than using the Session object or storing to the database, I am storing temporary variables that I need persisted to custom ViewState variables. For example, ViewState(\"MyField1\") = 1