Back to Devexpress

WebChartControl.CallbackStateLoad Event

aspnet-devexpress-dot-xtracharts-dot-web-dot-webchartcontrol-00145c9f.md

latest2.7 KB
Original Source

WebChartControl.CallbackStateLoad Event

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

Namespace : DevExpress.XtraCharts.Web

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

NuGet Package : DevExpress.Web.Visualization

Declaration

csharp
public event CallbackStateLoadEventHandler CallbackStateLoad
vb
Public Event CallbackStateLoad As CallbackStateLoadEventHandler

Event Data

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

PropertyDescription
ChartGets the chart for which the event was raised. Inherited from CallbackStateEventArgs.

The event data class exposes the following methods:

MethodDescription
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.

See Also

WebChartControl Class

WebChartControl Members

DevExpress.XtraCharts.Web Namespace