gbreddy
asked on
viewstate management
Hi Experts
1)What is VIEWSTATE in ASP.NET?
2)Usere can view the data in the VIEWSATE?
3)Where it stores the data, client side/server side?
4)Is it possible to modify the content of viewstate?
5)If we disable the viewstate what will happen?
with regards
Gopi
1)What is VIEWSTATE in ASP.NET?
2)Usere can view the data in the VIEWSATE?
3)Where it stores the data, client side/server side?
4)Is it possible to modify the content of viewstate?
5)If we disable the viewstate what will happen?
with regards
Gopi
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
can VIEWSTATE maintain the STATE of the page ?
Yes, if you use it efficiently, it can.
protected override object LoadPageStateFromPersisten
{
return Session["ViewState"];
}
protected override void SavePageStateToPersistence
{
Session["ViewState"] = viewState;
// Bug requires Hidden Form Field __VIEWSTATE
RegisterHiddenField("__VIE
}