Please check the following demo about Items in RadSlider: http://demos.telerik.com/aspnet-ajax/slider/examples/slideritems/defaultcs.aspx
. As described the properties Value
of a slider that uses Items represent the index in the Items collection of the currently selected slider item or items. For example, if there are four items in the slider and you want the selection to start from the first item and to end at the last one, you would set SelectionStart = 0 and SelectionEnd = 3, because these are the indices of the first and the last item.
In your case you are setting SelectionStart and SelectionEnd with values of items instead of with their indices, and the slider positions the drag handles at the end because it cannot find an item with greater index.
If you want to configure the start and the end of the selection to the start and end item, I would suggest keeping SelectionStart
always to 0 and SelectionEnd
to the item count minus 1 (the index of the last item).
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed