DataPagerField.LoadViewState Method (Object)


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

Restores view-state information that was saved previously.

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

protected virtual void LoadViewState(
	object savedState


Type: System.Object

The saved view-state values for the control.

The LoadViewState method restores view-state information for the DataPagerField object that was saved by the SaveViewState method during a previous page request.

This method is primarily used by the .NET Framework infrastructure and is not intended to be used directly from your code. However, control developers can override this method to specify how a custom server control restores its view state. For more information, see ASP.NET State Management Overview.

.NET Framework
Available since 3.5
Return to top