System.Web.UI.WebControls.ObjectDataSource.TrackViewState Method

Tracks view-state changes to the System.Web.UI.WebControls.ObjectDataSource control so that they can be stored in the System.Web.UI.StateBag object.

Syntax

protected override void TrackViewState ()

Remarks

The ObjectDataSource.TrackViewState method is overridden to mark the starting point to begin tracking and saving changes to the control as part of the view state for the object.

Requirements

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