Here are my notes about view state:
- View state for a page or control is the cumulative storage of values.
- Primary storage mechanism for HTML and webserver controls
- Attribute/Value pairs are stored like a dictionary
- Can read this class any time during the processing of the page except when the control is being rendered.
- you can add or remove from the dictionary like any other control
- View state is a way to store and retrieve controls from the statebag class
- State of control is maintained when it is rendered back to the page
- An instance of statebag class is created when you set the view state to true
- Control.ViewState is the property used to read and write to the viewstate.
Adioz tonight..