Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [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
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
      ASPxTrackBar Overview
       Orientation and Direction
      [Expand]Items Mode
       Single and Range Value Selection
       Value Selection
       Scale Settings
       Client-Side API
     [Expand]Visual Elements
     [Expand]ASPxTrackBar - Animated Images
  [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

Single and Range Value Selection

ASPxTrackBar supports two selection modes: single value selection and range selection.

Expanded Single Value Selection

Single value selection mode is default for the ASPxTrackBar control.

In the single value selection mode, only the main drag handle is displayed. In this case, the ASPxTrackBar.Position property is used to specify the drag handle position. By default (in decimal scale display mode), a drag handle position corresponds to the track bar value. If you use an items display mode, the drag handle position is specified by the corresponding item's zero-based index. You can manipulate the drag handle position on client-side with the ASPxClientTrackBar.GetPosition and ASPxClientTrackBar.SetPosition methods.

Expanded Range Selection

Set the ASPxTrackBar.AllowRangeSelection property to True to enable the range selection mode. The secondary drag handle appears; this allows end-users to select a range of values instead of a single value.

In the range selection mode, the ASPxTrackBar.PositionStart and ASPxTrackBar.PositionEnd properties are used to specify main and secondary drag handle positions respectively. You can manipulate range selection on the client-side with the following methods.


The Position and PositionStart properties define a main drag handle position in different selection modes, but they always synchronize their values.

Expanded Respond To An End-User Value Selection

When an end-user has finished changing an editor handle position, the ASPxTrackBar.PositionChanged server event fires. See the Client-Side API topic for more information about client-side events.

Expanded See Also

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