1.

What is ViewState in ASP.NET?

Answer»

ViewState is a client-side state management MECHANISM in ASP.NET. It is a default technique used by ASP.NET to persist the VALUE of the page and controls during postbacks.

In ASP.NET ViewState the values are encrypted and stored in a hidden FIELD ( named _VIEWSTATE) on the page as an encoded BASE64 string. By default, ViewState is sent to the client browser and then returned to the server in the form of a hidden input control on your page.



Discussion

No Comment Found