Edit

Share via


HotSpot.TrackViewState Method

Definition

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 ViewState property.

protected virtual void TrackViewState();

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also