Bewerken

Delen via


DataPagerField.TrackViewState Method

Definition

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.

protected:
 virtual void TrackViewState();
protected virtual void TrackViewState ();
abstract member TrackViewState : unit -> unit
override this.TrackViewState : unit -> unit
Protected Overridable Sub TrackViewState ()

Remarks

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

Applies to

See also