System.Web.UI.WebControls.ObjectDataSourceView.TrackViewState Method

Causes the System.Web.UI.WebControls.ObjectDataSourceView object to track changes to its view state so that the changes can be stored in the System.Web.UI.Control.ViewState object for the control and persisted across requests for the same page.

Syntax

protected virtual void TrackViewState ()

Remarks

The ObjectDataSourceView.TrackViewState method is primarily used by control developers.

Requirements

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