This is a migrated thread and some comments may be shown as answers.

Move when click outside maximumrangespan

1 Answer 63 Views
Slider
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bjorn Sundby
Top achievements
Rank 1
Bjorn Sundby asked on 21 Mar 2012, 01:52 PM
Hi!
We have a RadSlider with SelectionRange, that we use for choosing start and end date.  Our maximum span is set to one week (approx 0.05 of the slider range).  If the user clicks on the slider outside the maximum range, we would like it to move with MaximumRangeSpan (one week) in the direction of the click, giving it similar behavior to standard windows scroll bars. 
Is this behavior possible to achieve?  We're using Silverlight with MVVM.

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 23 Mar 2012, 04:42 PM
Hello,
At the moment there's no straightforward way to do this, but you can try to handle the MouseDown event of the RadSlider and manually change SelectionEnd and SelectionStart.
I've attached a sample project which shows this so could you please examine it and if you have more questions feel free to ask.

Kind regards,
Zarko
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Slider
Asked by
Bjorn Sundby
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or