System.Web.UI.WebControls.HotSpot.TrackViewState Method

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

Syntax

protected virtual void TrackViewState ()

Remarks

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

This method is called automatically by ASP.NET when the System.Web.UI.WebControls.HotSpot object is initialized.

Requirements

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