Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
   [Expand]Product Information
   [Expand]Getting Started
    [Expand]Gauge Types
    [Expand]Gauge Elements
     Data Binding
     Layout Customization
   [Expand]Visual Elements
   [Expand]Design-time Features
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Binding

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

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

Is this topic helpful?​​​​​​​