System.Web.UI.WebControls.GridView.TrackViewState Method

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

Syntax

protected override void 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.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0