This documentation is archived and is not being maintained.

DataGridColumn.TrackViewState Method

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

[Visual Basic]
Protected Overridable Sub TrackViewState()
[C#]
protected virtual void TrackViewState();
[C++]
protected: virtual void TrackViewState();
[JScript]
protected function 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.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataGridColumn Class | DataGridColumn Members | System.Web.UI.WebControls Namespace | System.Web.UI.StateBag

Show: