I need the slider to increment in 0.5 steps, it does not matter to show 0.5, 1, 1.5 in the ticks but is it possible to increment in between, so 0.5, 1, 1.5.
Also, is it possible so the drag handle to stop at 0.5 and cannot go to 0?
Many thanks.
Richard
1 Answer, 1 is accepted
0
Tsvetie
Telerik team
answered on 29 Jan 2010, 09:11 AM
Hi Richard Gnyla,
The slider control supports only values of type integer. Its Value, SelectionStart, SelectionEnd, MinimumValue and MaximumValue are of type int and that is why you cannot achieve the described result with our control.
You can use the following approach to mimic the behavior using RadSlider:
Set MinimumValue=5 and SmallChange=5
When you get the value of the slider, divide it by 10 and use the result of the division instead of the value of the slider.
In case you need to show ticks for the values of the slider, you should use ItemType=None and prepare an image with all the ticks for the slider. You can position that image above/below/next to the slider with CSS.