DataGridColumn.TrackViewState Method

Definition

Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object.

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

Remarks

Use the TrackViewState method to track view-state changes on the server control so they can be stored in the server control's System.Web.UI.StateBag object. This allows a column to perform custom view-state management.

Applies to

See also