Intersoft WebGrid Documentation
EnableViewState Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridCellTemplateContainer Class : EnableViewState Property






Syntax

Visual Basic (Declaration) 
<ThemeableAttribute(False)>
<DefaultValueAttribute()>
<WebCategoryAttribute("Behavior")>
<WebSysDescriptionAttribute("Whether the control automatically saves its state for use in round-trips.")>
Public Overridable Property EnableViewState As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGridCellTemplateContainer
Dim value As Boolean
 
instance.EnableViewState = value
 
value = instance.EnableViewState
C# 
[ThemeableAttribute(false)]
[DefaultValueAttribute()]
[WebCategoryAttribute("Behavior")]
[WebSysDescriptionAttribute("Whether the control automatically saves its state for use in round-trips.")]
public virtual bool EnableViewState {get; set;}
Delphi 
public read-write property EnableViewState: Boolean; virtual; 
JScript 
ThemeableAttribute()
DefaultValueAttribute()
WebCategoryAttribute("Behavior")
WebSysDescriptionAttribute("Whether the control automatically saves its state for use in round-trips.")
public function get,set EnableViewState : boolean
Managed Extensions for C++ 
[ThemeableAttribute(false)]
[DefaultValueAttribute()]
[WebCategoryAttribute("Behavior")]
[WebSysDescriptionAttribute("Whether the control automatically saves its state for use in round-trips.")]
public: __property virtual bool get_EnableViewState();
public: __property virtual void set_EnableViewState( 
   bool value
);
C++/CLI 
[ThemeableAttribute(false)]
[DefaultValueAttribute()]
[WebCategoryAttribute("Behavior")]
[WebSysDescriptionAttribute("Whether the control automatically saves its state for use in round-trips.")]
public:
virtual property bool EnableViewState {
   bool get();
   void set (    bool value);
}

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.