Top "Viewstate" questions

ViewState is the mechanism that allows form field values to be preserved across page postbacks.

Setting ViewStateUserKey gives me a "Validation of viewstate MAC failed" error

I have the following in my BasePage class which all my ASPX pages derive from: protected override void OnInit(EventArgs …

c# asp.net asp.net-2.0 viewstate failed-to-load-viewstate
How do I turn off viewstate for good?

Coming from a PHP background I love using clean URLs to grab data from one service to another. However, on …

asp.net url viewstate clean-urls
Erratic Invalid Viewstate issue in a .NET application

I seem to be getting a "invalid viewstate" every now and then in the event viewer for my ASP.NET …

c# .net asp.net viewstate
Should I ignore the occasional Invalid viewstate error?

Every now and then (once every day or so) we're seeing the following types of errors in our logs for …

asp.net error-handling viewstate
Assigning DataTable to ViewState is a good way?

I'm getting a DataTable from a DataBase and assigning to ViewState like below: Because I don't want to hit the …

c# asp.net datatable viewstate state-management
What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState?

What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState?

asp.net html xhtml encoding viewstate
Restore a drop down selected item after postback

I'm trying to refresh page when an item of the drop down list is selected. DropDownList never gets last selected …

asp.net postback viewstate autopostback selectedindexchanged
What does the __VIEWSTATE hold?

I'm sorry for maybe making such a basic question but in ASP.NET websites what does the __VIEWSTATE input field …

asp.net forms viewstate hidden-field
com.sun.faces.numberOfViewsInSession vs com.sun.faces.numberOfLogicalViews

Mojarra Implementation of JSF 2 has the following context params: com.sun.faces.numberOfViewsInSession (default is 15) com.sun.faces.numberOfLogicalViews (default …

jsf jsf-2 viewstate mojarra viewexpiredexception
How to access ViewState variable in Client side Javascript or JQuery

Is this possible to access ViewState variable at Client Side javascript or jquery functions in asp.net web application? If …

javascript jquery asp.net viewstate