WHAT IS THE FUNCTION OF THE VIEWSTATE PROPERTY?

Sumit Kesarwani

Total Post:782

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

    Post:782

    Points:3910
    What is the function of the ViewState property?

    The ASP.NET 4.0 introduced a new property called ViewStateMode for the Control class. Now you can enable the view state to an individual control even if the view state for an ASP.NET page is disabled.

  1. Amir Masood

    Post:1

    Points:5
    What is the function of the ViewState property?


    ViewState is used to maintain the state of controls during page postback and if we save any control values or anything in viewstate we can access those values throughout the page whenever it required

Answer

NEWSLETTER

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