Version

TrackViewState Method (ObjectBase)

This method turns on ViewState tracking for the object
Syntax
'Declaration
 
Protected Overridable Sub TrackViewState() 
protected virtual void TrackViewState()
Remarks
Once this method is called by the ASP.NET framework, all subsequence property set operations will result in the data being serialized to the page ViewState hidden field and round tripped to the server on postback.
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