Style.TrackViewState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.