ObjectListItemCollection.TrackViewState Method

Instructs the collection to track changes to its view state.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

protected:
void TrackViewState ()
protected void TrackViewState ()
protected function TrackViewState ()
Not applicable.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: