A newer version of this page is available. Switch to the current version.

WebChartControl.CallbackStateSave Event

Occurs when a chart saves its view state between multiple callbacks.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v18.2.Web.dll

Declaration

public event CallbackStateSaveEventHandler CallbackStateSave
Public Event CallbackStateSave As CallbackStateSaveEventHandler

Event Data

The CallbackStateSave event's data class is CallbackStateSaveEventArgs. The following properties provide information specific to this event:

Property Description
Chart Gets the chart for which the event was raised. Inherited from CallbackStateEventArgs.

The event data class exposes the following methods:

Method Description
SetPropertyValue(String, Object) Sets a new value for the specified property on the WebChartControl.CallbackStateSave event.

Remarks

Handle the CallbackStateSave and WebChartControl.CallbackStateLoad events to manually decide which property values should be passed between a server and a client on callbacks. To set a property value to be passed, use the CallbackStateSaveEventArgs.SetPropertyValue method. To load a property value, use the CallbackStateLoadEventArgs.GetPropertyValue method.

NOTE

The CallbackStateSave and CallbackStateLoad events are raised only if the WebChartControl.SaveStateOnCallbacks property is set to true.

See Also