Version

SaveViewState Method (UltraWebToolbar)

Preserves to viewstate any changes made to the UltraWebToolbar element since the page was posted back.
Syntax
'Declaration
 
Protected Overrides Function SaveViewState() As Object
protected override object SaveViewState()

Return Value

An state management object used by ASP.NET.
Remarks

Subclasses must call this base implementation of SaveViewState prior to taking their own actions to preserve state. The state management object returned by this implementation should be added to a Pair, along with any state management object specific to extensions added by the subclass. The subclass must also then override LoadViewState to receive the Pair object back from the ASP.NET framework prior to Page_Load, restore its own state, and pass the base class implementation's state management object to base.LoadViewState unaltered.

Note: The information above applies only to advanced developers extending the UltraWebToolbar class. It does not pertain to Web applications.

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