StateBag.IStateManager.LoadViewState Method (Object)

 

Restores the previously saved view state of the StateBag object.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

void IStateManager.LoadViewState(
	object state
)

Parameters

state
Type: System.Object

An object that represents the StateBag state to restore.

This method restores view-state information for the StateBag object from a previous page request that was saved by the IStateManager.SaveViewState method.

This method is primarily used by control developers. You can override this method to control how a custom server control restores its view state. For more information, see ASP.NET State Management Overview.

.NET Framework
Available since 1.1
Return to top
Show: