Dundas Chart for ASP.NET
ViewStateContent Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Chart Class : ViewStateContent Property


Determines the view state to be persisted at the client.


Chart content saved in the view state.

Syntax

Visual Basic (Declaration)  
Public Property ViewStateContent As SerializationContent
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As SerializationContent
 
instance.ViewStateContent = value
 
value = instance.ViewStateContent
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).

Remarks

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.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.