Function of EnableViewState property

What is the function of "EnableViewState" property? Why do we require it On or Off?

E

Expert

Verified

An EnableViewState property facilitates a ViewState property on a page. It is set On to permit a page to save a users input among postback requests of the Web page; that is, between a Request and the corresponding Response objects. When the property is set Off, page does not store users input throughout postback.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.