ChangePassword.LoadViewState Method (Object)


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

Use BaseTrue

Restores view state information from a previous page request that was saved by the SaveViewState method.

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

protected override void LoadViewState(
	object savedState


Type: System.Object

An Object that represents the control state to restore.

Exception Condition

The savedState parameter cannot be resolved to a valid ViewState.

Override the LoadViewState method when you need to specify how a custom server control restores its view state. For more information, see Server Control Custom State Management.

.NET Framework
Available since 2.0
Return to top