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

Bug with range slider

1 Answer 50 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 18 Feb 2009, 11:59 PM
Hello.

I think i found some bug when using RadSlider control.

When I create new RadSlider with IsSelectionRangeEnabled set to true and then move slider so that I create some range and then when I click on slider (like when i would want to move with range but i don't move it only mouse click on it) then it is somehow bugged...

After this it is not possible to move with left slider (selection start value).
Actually when I try to move left (minimum) slider, visually nothing happens but on each mousemove event SelectionStart is increased or decreased (depens wheather I move with mouse on left or on right from left slider position) until it is same as SelectionEnd or same as minimum slider value.

I hope you can understand what I mean . (it is easy to reproduce when slider is on maximum range)

I created my slider in code like this:

RadSlider testSlider = new RadSlider();
testSlider.Minimum = -20;
testSlider.Maximum = 40;
testSlider.Orientation =
Orientation.Horizontal;
testSlider.IsSnapToTickEnabled = true;
testSlider.IsSelectionRangeEnabled =
true;
testSlider.TickPlacement = Telerik.Windows.Controls.TickPlacement.None;
testSlider.TickFrequency = 1;
testSlider.SelectionStart = 0;
testSlider.SelectionEnd = 5;

testSlider.Width = 240;
Canvas.SetLeft(testSlider, 10);
Canvas.SetTop(testSlider, 10);
aMainCanvas.Children.Add(testSlider);

 

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan
Telerik team
answered on 19 Feb 2009, 05:18 PM
Hello Michal,

Thank you for reporting the issue.

Actually this bug is already logged and we will do our best to fix it for the upcoming release.

Best wishes,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Slider
Asked by
Michal
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or