Bug with range slider

2 posts, 1 answers
  1. Michal
    Michal avatar
    5 posts
    Member since:
    Feb 2009

    Posted 18 Feb 2009 Link to this post

    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);

     

     

     

  2. Answer
    Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 19 Feb 2009 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top