What are a view state and how the state is maintained? What are different state management options available in ASP.Net?
VIEW STATE IS NOTHING BUT MAINTAINING CONTROLS DATA UNDER POSTBACK IMPLEMENTATION
WE CAN STORE THE VIEWSTATE DATA WITHIN HIDDEN FIELD CONTROL OF HTML.
WITH USING HIDDENFIELD THE DATA STORED IN STATEBAG OBJECT .
SERVER MAINTAINING THE CLIENTS INFORMATION DURING NAVIGATION OF ONE PAGE TO ANOTHER IS KNOWN AS STATEMANAGAMENT
WE CAN ACHIEVE THIS WITH PARTICULAR CONCEPTS
1.COOKIES
2.SESSIONS
3.VIEWSTATE
4.APPLICATION
5.CACHE
6.QUERYSTRING
Use the View State property to save data in a hidden field on a page. Because ViewState stores data on the page, it is limited to items that can be serialized. If you want to store more complex items in View State, you must convert the items to and from a string.
ASP.NET provides the following ways to retain variables between requests: