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
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [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]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
    [Expand]ASPxBinaryImage
    [Expand]ASPxButton
    [Expand]ASPxButtonEdit
    [Expand]ASPxCalendar
    [Expand]ASPxCheckBox
    [Expand]ASPxCheckBoxList
    [Expand]ASPxColorEdit
    [Expand]ASPxComboBox
    [Expand]ASPxDateEdit
    [Expand]ASPxDropDownEdit
    [Expand]ASPxFilterControl
    [Expand]ASPxHyperLink
    [Expand]ASPxImage
    [Expand]ASPxLabel
    [Expand]ASPxListBox
    [Expand]ASPxMemo
    [Expand]ASPxProgressBar
    [Expand]ASPxRadioButton
    [Expand]ASPxRadioButtonList
    [Expand]ASPxSpinEdit
    [Expand]ASPxTextBox
    [Expand]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
    [Expand]ASPxValidationSummary
  [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]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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

How would you rate this topic?​​​​​​​