StateBag.IStateManager.LoadViewState Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: