DataGridColumn.TrackViewState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.