Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
    [Expand]ASPxBinaryImage
    [Expand]ASPxButton
     ASPxButtonEdit
    [Expand]ASPxCalendar
     ASPxCheckBox
     ASPxCheckBoxList
    [Expand]ASPxColorEdit
    [Expand]ASPxComboBox
    [Expand]ASPxDateEdit
    [Expand]ASPxDropDownEdit
    [Expand]ASPxFilterControl
    [Expand]ASPxHyperLink
     ASPxImage
     ASPxLabel
    [Expand]ASPxListBox
    [Expand]ASPxMemo
    [Expand]ASPxProgressBar
     ASPxRadioButton
    [Expand]ASPxRadioButtonList
    [Expand]ASPxSpinEdit
     ASPxTextBox
     ASPxTimeEdit
    [Expand]ASPxTokenBox
    [Collapse]ASPxTrackBar
      ASPxTrackBar Overview
     [Collapse]Concepts
       Orientation and Direction
      [Expand]Items Mode
       Single and Range Value Selection
       Value Selection
       Scale Settings
       Client-Side API
     [Expand]Visual Elements
     [Expand]Examples
     [Expand]ASPxTrackBar - Animated Images
     ASPxValidationSummary
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [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]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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.

Note

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?​​​​​​​