ObjectListItemCollection.TrackViewState Method

Definition

Instructs the collection to track changes to its view state. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 void TrackViewState();
protected void TrackViewState ();
member this.TrackViewState : unit -> unit
Protected Sub TrackViewState ()

Remarks

After this method has been called, the IsTrackingViewState property will return true. Also, the IsTrackingViewState property of the IStateManager objects in the ObjectListItemCollection will be set to true.

Applies to