Edit

Share via


SqlDataSource.TrackViewState Method

Definition

Tracks view state changes to the SqlDataSource control so that the changes can be stored in the StateBag object for the control.

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

Remarks

The TrackViewState method is overridden to mark the starting point to begin tracking and saving changes to the control as part of the view state for the control.

Applies to

See also