State management means to preserve state of a control, web page, object/data, and user in the application explicitly because all ASP.NET web applications are stateless, i.e., by default, for each page posted to the server, the state of controls is lost. Nowadays all web apps demand a high level of state management from control to […]
State management is the process by which you maintain state and page information over multiple requests for the same or different pages. Why we need of ASP.NET State Management? As we know that Web Applications work on HTTP protocol. HTTP protocol is a stateless protocol, meaning it does not retain state between user requests. Example: […]
In this post, we will learn how to use View State, when to use view state, advantages of using view state and limitations of view state. View State can be used to maintain the State of page information at a page level. The term “Page Level” means that the information is being stored for a specific […]
View state is used automatically by the ASP.NET page framework to persist information that must be preserved between postbacks.
View state Control state Hidden fields Cookies Query strings
View state is nothing but a method that the ASP.NET use to preserve page and control values between postbacks. 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 […]