Edit

Share via


Style.TrackViewState Method

Definition

Turns on the tracking of view state in the Style object. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 void TrackViewState();
protected void TrackViewState ();
member this.TrackViewState : unit -> unit
Protected Sub TrackViewState ()

Remarks

This method sets the IsTrackingViewState property to true. It also calls the TrackViewState method on the StateBag object referenced by the State property.

Applies to

See also