I want to know in which format information is stored in view state, as it is quite useful for storing information during multiple postbacks.
+2
A:
View state is the method that the ASP.NET page framework uses to preserve page and control values between round trips. When the HTML markup for the page is rendered, the current state of the page and values that must be retained during postback are serialized into base64-encoded strings. This information is then put into the view state hidden field or fields.
<input type="hidden" name="__VIEWSTATE"
value="dDwxNDg5OTk5MzM7Oz7DblWpxMjE3ATl4Jx621QnCmJ2VQ==" />
Pranay Rana
2010-08-27 10:41:49
But, you shouldn't rely on it being so, as microsoft do not guarantee that this will always be the format.
Oded
2010-08-27 10:46:37
yeah.....................
Pranay Rana
2010-08-27 10:48:08