StateManagedCollection.IStateManager.TrackViewState Method ()


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

Causes the StateManagedCollection collection and each of the IStateManager objects it contains to track changes to their view state so they can be persisted across requests for the same page.

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

void IStateManager.TrackViewState()

View state is the accumulation of the values of a server control's properties. These values are automatically placed in the server control's ViewState property, which is an instance of the StateBag class. This property's value is then persisted to a string object after the save state stage of the server control life cycle. For more information, see NIB: ASP.NET Web Server Controls.

.NET Framework
Available since 2.0
Return to top