WebChartControl.CallbackStateLoad Event
Occurs when a chart loads its view state between multiple callbacks.
Namespace: DevExpress.XtraCharts.Web
Assembly: DevExpress.XtraCharts.v24.1.Web.dll
NuGet Package: DevExpress.Web.Visualization
Declaration
Event Data
The CallbackStateLoad event's data class is CallbackStateLoadEventArgs. 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 |
---|---|
GetPropertyValue(String) | Returns a value for the specified property on the WebChartControl.CallbackStateLoad event. |
Remarks
Handle the WebChartControl.CallbackStateSave and 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.