WHAT DOES THE "ENABLEVIEWSTATE" PROPERTY DO? WHY DO WE WANT IT ON OR OFF?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
 1010  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    What does the "EnableViewState" property do? Why do we want it On or Off?

    The EnableViewState property enables the ViewState property on the page. It is set to On to allow the page to save the users input between postback requests of a Web page; that is, between the Request and corresponding Response objects. When this property is set to Off, the page does not store the users input during postback.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!