GridView.TrackViewState Method

Definition

Tracks view-state changes to the GridView control so they can be stored in the control's StateBag object. This object is accessible through the ViewState property.

protected:
 override void TrackViewState();
protected override void TrackViewState ();
override this.TrackViewState : unit -> unit
Protected Overrides Sub TrackViewState ()

Remarks

This method is overridden to mark the starting point at which to begin tracking and saving changes to the control as part of the control's view state.

Applies to

See also