Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TrackViewState Method

HotSpot.TrackViewState Method

Causes the HotSpot object to track changes to its view state so they can be stored in the object's StateBag object. This object is accessible through the Control.ViewState property.

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

protected virtual void TrackViewState()

The TrackViewState member is used primarily by control developers when deriving a custom implementation from the HotSpot class.

This method is called automatically by ASP.NET when the HotSpot object is initialized.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft