Top "Viewstate" questions

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

Does viewstate expire?

Let's say you have a aspx page that does not rely on session, but does rely on viewstate for persistance …

asp.net viewstate
Completely remove ViewState for specific pages

I have a site that features some pages which do not require any post-back functionality. They simply display static HTML …

asp.net optimization viewstate
Is it possible to decrypt and view ViewState values?

I know there are tools out there that will let you see the content of asp.net viewstate. Is it …

asp.net security viewstate
GridView doesn't remember state between postbacks

I have a simple ASP page with databound grid (bound to an object source). The grid is within the page …

asp.net gridview postback viewstate
hidden field vs viewstate

What is the difference when using Hidden field vs View state? When to use each one ? Which one more secure? …

asp.net ajax performance security viewstate
How to disable View State MAC globally?

I'm tired of including EnableViewStateMac="false" in every page. How to do that globally?

.net asp.net viewstate
How to reduce javax.faces.ViewState in JSF

What is the best way to reduce the size of the viewstate hidden field in JSF? I have noticed that …

java optimization jsf viewstate bandwidth
Dynamically created DropDownList loses ListItems on Postback

I have a page that contains some dynamically created controls (TextBox and DropDownList). When a postback occurs, the TextBoxes keep …

asp.net vb.net drop-down-menu viewstate
Testing JSF application with JMeter - ViewState issue

All day I try to run JMeter tests of my JSF application. I am aware of ViewState, but it seemed …

java jsf viewstate jmeter load-testing
How does `onViewStateRestored` from Fragments work?

I am really confused with the internal state of a Fragment. I have an Activity holding only one Fragment at …

android android-fragments fragment viewstate restore