TrackViewState Method

DataPagerField.TrackViewState Method ()


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 Overridable Sub 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
© 2015 Microsoft