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






Gets or sets whether the control automatically saves its state for use in round-trip.

Syntax

Visual Basic (Declaration) 
<BindableAttribute(Bindable=True, Direction=BindingDirection.OneWay)>
<CategoryAttribute("Behavior")>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Overridable Property EnableViewState As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WebGrid
Dim value As Boolean
 
instance.EnableViewState = value
 
value = instance.EnableViewState
C# 
[BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[CategoryAttribute("Behavior")]
[ISNet.Serialization.BinarySerializableAttribute()]
public virtual bool EnableViewState {get; set;}
Delphi 
public read-write property EnableViewState: Boolean; virtual; 
JScript 
BindableAttribute(Bindable=, Direction=BindingDirection.OneWay)
CategoryAttribute("Behavior")
ISNet.Serialization.BinarySerializableAttribute()
public function get,set EnableViewState : boolean
Managed Extensions for C++ 
[BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[CategoryAttribute("Behavior")]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property virtual bool get_EnableViewState();
public: __property virtual void set_EnableViewState( 
   bool value
);
C++/CLI 
[BindableAttribute(Bindable=true, Direction=BindingDirection.OneWay)]
[CategoryAttribute("Behavior")]
[ISNet.Serialization.BinarySerializableAttribute()]
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.