GridView.TrackViewState Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

override TrackViewState : unit -> unit

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.

.NET Framework
Available since 2.0
Return to top