Data Binding

This document provides information on a data-binding mechanism in the ASPxGaugeControl.

Data Binding Overview

The ASPxGauge control can be bound to a data source at runtime in the same manner as standard server controls.

To data bind a gauge control to a data, call the ASPxGaugeControl.CustomCallback event. This event allows for desired server-side processing to be performed in response to a call to the client ASPxClientGaugeControl.PerformCallback method.

For instance, the following image demonstrates the ASPxGauge control bound to the server data of the ASPxComboBox control and showing the current car model from the drop-down list.


When you select an item from the drop-down list of the ASPxComboBox control, the ASPxClientEdit.ValueChanged event is raised to send a callback to the server-side of the gauge control.

See the How to: Bind a Gauge Control to a Data Source example to learn more.