asp.net - Page ViewState, Control ViewState and ControlState -
What is the difference between pageviewstrate, control viewstate, and controlstate? Why are there 3 different things in ASP.net?
A page is a Although these problems occurred in .NET 1.x, because some controls do not work properly when the viewtet was disabled - paging and sorting in example control , therefore
viewstate Inherit property when viewstate is saved, then ASP.NET On the control tree, it creates a persistent medium (a hidden field in the HTML provided by default) to the viewstrate of each control. The
ViewState incurs an overhead,
repeater ,
DataGrid etc. for. It is therefore desirable to disable the viewstation often, and instead control every postback.
DataGrid .
ControlState was therefore introduced in .NET 2 so that the control can save the minimum state data that they need to work on postback.
Comments
Post a Comment