viewstate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dipalichavan82
    New Member
    • Feb 2008
    • 41

    viewstate

    maintaining viewstate is realted with hidden field. can u plz explain?
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    #2
    Hi,

    Viewstate is used to store the data of the controls on your form. Viewstate is nothing but the hidden field in which values of the controls are stored in the encrypted format.
    Following is the example of viewstate.

    <input type="hidden" name="__VIEWSTA TE" value="dDwxMzkw ODg5OTYwO3Q8O2 ...../>

    Use of viewstate : Values of the controls are not lost when the page is posted back.

    In order to use this feature , you have make EnableViewState property as true.



    Originally posted by dipalichavan82
    maintaining viewstate is realted with hidden field. can u plz explain?

    Comment

    Working...