viewstate is the client side state management.every server
control has a view state .we can assign a property named
Enableviewstate to every server control and setting the
property to true,the viewstate will be enabled and hence
the values of the control will be stored as encrypted
format whenever the page is postback from the server again
and again.
View state is stored in the client in the form of a hidden
control called “__VIEWSTATE”. Here by client I mean the
rendered aspx pages in the browser. If view state property
is set to true then ASP.NET automatically adds a hidden
field/control by the name “__VIEWSTATE” and stores the
information related to the state of the page in an encrypted
format.