ViewState is used to retain the state of server-side objects between page post backs.
ViewState
Collapse
X
-
-
View State is the strategy to protect the Value of the Page and Controls between round trips. It is a Page-Level State Management procedure. View State is turned on as a matter of course and regularly serializes the information in each control on the page paying little mind to whether it is really utilized amid a post-back.Comment
-
ViewState is a client side mechanism. It stores the value in the page itself. Preserving the value of page controls between client to server and server to client is called "roundtrip". It stores the page or control value in the mode of hidden fields.Comment
Comment