Example of Limits in ASP.NET MVC Range Slider Control

This sample demonstrates the rendering of Slider component with limits. Drag the thumb over the bar for selecting the values between assigned limit values. Change the values in the property pane to set different limit values.

DEMO
SOURCE
MinStart
MinEnd
MaxStart
MaxEnd
Lock First Handle
Lock Second Handle

The limits are used to limit between certain range. When the limits are assigned, draggable limited area will be in the dark shadow color of the current theme. The limits APIs are explained below.

minStartopens in a new tab -   Used to set minimum limit value for first handle.
minEndopens in a new tab -   Used to set maximum limit value for first handle.
maxStartopens in a new tab -   Used to set minimum limit value for second handle.
maxEndopens in a new tab -   Used to set maximum limit value for first handle.
startHandleFixedopens in a new tab -   Used to lock the first handle in the current position.
endHandleFixedopens in a new tab -   Used to lock the second handle in the current position.

In this demo, Limits with MinRange and range Slider is demonstrated.

  • MinRange Slider – In this sample, the minimum and maximum limit of the slider is set to 10 and 40 respectively.
  • Range Slider – In this sample, the minimum and maximum limit of the first handle is set to 10 and 40 respectively and the minimum and maximum limit of the second handle is set to 60 and 90 respectively.

For more information, refer to the limitsopens in a new tab section from the documentation.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab