aspnetbootstrap-devexpress-dot-web-dot-bootstrap-cb67ff36.md
Represents a Bootstrap Range Selector control.
Namespace : DevExpress.Web.Bootstrap
Assembly : DevExpress.Web.Bootstrap.v25.2.dll
NuGet Package : DevExpress.Web.Bootstrap
[DXClientDocumentationProviderWeb("BootstrapRangeSelector")]
[ToolboxBitmap(typeof(BootstrapToolboxBitmapAccess), "Bitmaps256.BootstrapRangeSelector.bmp")]
[ToolboxTabName("DX.25.2: Bootstrap Controls")]
public class BootstrapRangeSelector :
BootstrapWebClientUIWidgetEx
<ToolboxTabName("DX.25.2: Bootstrap Controls")>
<DXClientDocumentationProviderWeb("BootstrapRangeSelector")>
<ToolboxBitmap(GetType(BootstrapToolboxBitmapAccess), "Bitmaps256.BootstrapRangeSelector.bmp")>
Public Class BootstrapRangeSelector
Inherits BootstrapWebClientUIWidgetEx
A Bootstrap Range Selector control is displayed as a one-dimensional scale with two sliders. An end-user selects the required range by moving the sliders.
You can configure the following control settings.
Note
The Bootstrap Range Selector control provides you with a comprehensive client-side functionality implemented using JavaScript code:
The following example demonstrates the Bootstrap Range Selector control’s functionality with a chart in the background. Follow the steps below to bind the control to the required data source and set up the control appearance.
The image below shows the result.
<dx:BootstrapRangeSelector runat="server" DataSourceUrl="~/Content/productweight.json" TitleText="Select a Product Weight" >
<Chart>
<SettingsCommonSeries ArgumentField="weight" />
<SeriesCollection>
<dx:BootstrapChartSplineSeries ValueField="appleCost" >
</dx:BootstrapChartSplineSeries>
<dx:BootstrapChartSplineSeries ValueField="orangeCost" >
</dx:BootstrapChartSplineSeries>
</SeriesCollection>
</Chart>
</dx:BootstrapRangeSelector>
[
{ "weight": "1", "appleCost": 3, "orangeCost": 7 },
{ "weight": "2", "appleCost": 20, "orangeCost": 14 },
{ "weight": "3", "appleCost": 21, "orangeCost": 21 },
{ "weight": "4", "appleCost": 22, "orangeCost": 28 },
{ "weight": "5", "appleCost": 25, "orangeCost": 35 },
{ "weight": "6", "appleCost": 30, "orangeCost": 42 },
{ "weight": "7", "appleCost": 35, "orangeCost": 44 },
{ "weight": "8", "appleCost": 42, "orangeCost": 45 },
{ "weight": "9", "appleCost": 49, "orangeCost": 46 },
{ "weight": "10", "appleCost": 60, "orangeCost": 47 }
]
Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxDataWebControlBase ASPxDataWebControl BootstrapWebClientUIWidget BootstrapWebClientUIWidgetEx BootstrapRangeSelector
See Also