Dundas Chart for ASP.NET
CallbackStateContent Enumeration
Example  See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace : CallbackStateContent Enumeration


Indicates what type of chart state must be kept into session variable to track chart callback changes.
Indicates what type of chart state must be keeped into session variable to track chart callback changes.

Syntax

Visual Basic (Declaration)  
Public Enum CallbackStateContent 
   Inherits Enum
Visual Basic (Usage) Copy Code
Dim instance As CallbackStateContent
C#  
public enum CallbackStateContent : Enum 

Members

Member Description
Auto Automated selection of save/restore behavior.
Automated selection of save/restore behaviour: The Auto works under folowing rules:

All - if UI is activated (toolbar and context menu)

SeriesDataOnly if only zooming and scrolling is enabled and the particular series is not databinded.

None in all other cases including when user callback is used.

ChartStateOnly Saves and restores the all chart state without series data points.
Saves and restores the all chart state without series data points.
SeriesDataOnly Saves and restores the only chart series data points.
Saves and restores the only chart series data points.
All Saves and restores the all chart state including series data points.
Saves and restores the all chart state including series data points.
None Saving and restoring will be not performed.
Saving and restoring will be not performed.

Example

In this example, we set a charts CallbackStateConent property to SeriesDataOnly.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl
  ...

' Sets the charts CallbackStateConent Property To SeriesDataOnly
Chart1.CallbackStateContent = CallbackStateContent.SeriesDataOnly
C# Copy Code
using Dundas.Charting.WebControl;
 ...
 
// Sets the charts CallbackStateConent Property To SeriesDataOnly
Chart1.CallbackStateContent = CallbackStateContent.SeriesDataOnly;

Remarks

The CallbackStateContent Auto works under following rules:
  • All - if UI is activated (Toolbar and context menu).
  • SeriesDataOnly - if scrolling and zooming is enabled, and the particular series is not using data-binding.
  • None -  in all other cases including when user callback is used.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Dundas.Charting.WebControl.CallbackStateContent

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.