DataPager.LoadControlState Method (Object)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Loads the state information for the properties in the DataPager control that must be persisted between postbacks, even when the EnableViewState property is set to false.

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

protected internal override void LoadControlState(
	object savedState
)

Parameters

savedState
Type: System.Object

An object that represents the state of the DataPager control.

Exception Condition
InvalidOperationException

There is no data-bound control associated with the DataPager control.

This method is primarily used by control developers to extend the DataPager control.

.NET Framework
Available since 3.5
Return to top
Show: