Determines the view state to be persisted at the client.
Chart content saved in the view state.
Visual Basic (Declaration) | |
---|---|
Public Property ViewStateContent As SerializationContent |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public SerializationContent ViewStateContent {get; set;} |
Return Value
A SerializationContent enumeration value that represents the view state. Defaults to "Default" (the view state will consist of all chart properties).
Use this property to set the view state of the Chart control.
When using this property the view state is automatically saved by the Chart control, and is also loaded automatically when a postback occurs.
For greater flexibility use the ViewStateData property for user-defined view state.
To enable state management set the EnableViewState property to true.
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