Version

LoadViewState Method (WebScheduleViewBase)

Rehydrates the Infragistics.WebUI.WebControls.SmartWebControl from a saved state object.
Syntax
'Declaration
 
Protected Overrides Sub LoadViewState( _
   ByVal savedState As Object _
) 
protected override void LoadViewState( 
   object savedState
)

Parameters

savedState
A saved state object that the ASP.NET Framework deserializes either from posted back data, or following a call to the Page's LoadPageStateFromPersistenceMedium. This saved state information should match the object given to the ASP.NET Framework when it called SaveViewState on a previous HTTP request.
Remarks

Inheritors are strongly advised against overriding the base class' implementation of LoadViewState, as doing so will likely disrupt normal functionality of the Infragistics.WebUI.WebControls.SmartWebControl's support for viewstate management. Instead, there is considerable flexibility built into the SmartWebControl for supporting viewstate management of subobjects and properties, and inheritors should leverage that for any additional subobjects and properties they have added in their subclass.

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