ChangePassword.LoadViewState(Object) Method

Definition

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

C#
protected override void LoadViewState(object savedState);

Parameters

savedState
Object

An Object that represents the control state to restore.

Exceptions

The savedState parameter cannot be resolved to a valid ViewState.

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also