DataPagerField.TrackViewState Method ()


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

Causes the DataPagerField object to track changes to its view state so that they can be stored in the control's ViewState property and persisted across requests for the same page.

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

protected virtual void TrackViewState()

The TrackViewState method internally sets the IsTrackingViewState property to true and invokes the TrackViewState method for the ViewState object.

.NET Framework
Available since 3.5
Return to top