Version

TrackViewState Method (SmartWebControl)

Indicates whether this SmartWebControl is tracking ViewState for its properties and subobjects.
Syntax
'Declaration
 
Protected Overrides Sub TrackViewState() 
protected override void TrackViewState()
Remarks

Calling this method informs the ASP.NET WebControl to track it's viewstate, and dispatches to all property subobjects that implement IStateManager to do the same. All subobjects derived from Infragistics.WebUI.Shared.WebObjectBase, or that implement the Infragistics.WebUI.Shared.IStateObject interface, already support this mechanism for initiating their viewstate tracking without the developer having to take any further steps.

Inheritors do not need to override the base class implementation of TrackViewState as long as they create and store their property subobjects in the SubObjects hash table as is recommended.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also