Version

LoadViewState Method (UltraWebToolbar)

Rehydrates all simple and structured properties of the UltraWebToolbar element from viewstate.
Syntax
'Declaration
 
Protected Overrides Sub LoadViewState( _
   ByVal savedState As Object _
) 
protected override void LoadViewState( 
   object savedState
)

Parameters

savedState
A state management object provided by ASP.NET.
Remarks

Subclasses must call this base implementation of LoadViewState before taking their own actions to restore state. The savedState object should be of the type Pair, containing both the subclass' extension properties and the state management object of the UltraWebToolbar base class. Pair has two properties for this purposes. Which property (First or Second) should be used for the subclass must be decided by the overriding method implementation, however the SaveViewState and LoadViewState overriding implementations must be consistent on this decision. Before restoring subclass state, pass the UltraWebToolbar's state management object to base.LoadViewState to restore its properties from the previous HTTP response.

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