Intersoft WebGrid Documentation
RestorationLevel Enumeration
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace : RestorationLevel Enumeration






Specifies the level of control's state restoration in a WebGrid.

Syntax

Visual Basic (Declaration) 
Public Enum RestorationLevel 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As RestorationLevel
C# 
public enum RestorationLevel : System.Enum 
Delphi 
public enum RestorationLevel = class(System.Enum)
JScript 
public enum RestorationLevel extends System.Enum
Managed Extensions for C++ 
__value public enum RestorationLevel : public System.Enum 
C++/CLI 
public enum class RestorationLevel : public System.Enum 

Members

MemberDescription
HighState restoration will be performed as maximum as possible. With this setting, all client's states including static properties and dynamic objects will be sent to server on postback.
LowState restoration will be performed as minimum as possible. Only dynamic objects and important values that vital to the control are being sent and therefore this mode will increase the speed of OnTheFly postback dramatically.
MediumState restoration will be performed on Medium level. It indicates that dynamic objects such as grouped columns, filtered columns, etc. - which can be changed by user interactively - will be sent to server on postback, along with layoutsettings and table properties. 

Remarks

The RestorationLevel controls state restoration level which is very important to increase the performance of OnTheFly postback. It consists of three levels: High (the default value), Medium, and Low. The high level of state restoration will perform to the highest level. It is recomended when you are creating most of objects at runtime, such as retrieving structure at runtime, setting layoutsetting or setting textsettings at runtime.   

The medium level of state restoration will send dynamic objects to the server on postback, along with layoutsettings and table properties.

The low level of state restoration will only send dynamic objects and important values that vital to the control. This mode will increase the speed of OnTheFly postback dramatically. This mode is very suitable for grid that is created in design time and that most settings are specified in design time. Most developers preferred the best practice that is to take advantage of IDE design time capability to save time with less code, such as retrieving hierarchical structure, setting grid's behavior, table properties and column properties.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ISNet.WebUI.WebGrid.RestorationLevel

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.