Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
Syntax
Visual Basic (Declaration) |
|
Public Overridable Property EnableViewState As Boolean |
Visual Basic (Usage) |
Copy Code |
Dim instance As ChartToolbar
Dim value As Boolean
instance.EnableViewState = value
value = instance.EnableViewState
|
C# |
|
public virtual bool EnableViewState {get; set;} |
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