Skip to main content
A newer version of this page is available. .

WebChartControl.CallbackStateSave Event

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

Namespace: DevExpress.XtraCharts.Web

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

Declaration

public event CallbackStateSaveEventHandler CallbackStateSave

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