Use Slider with selection range in a Draggable RadListBox Item

3 posts, 1 answers
  1. Jose
    Jose avatar
    4 posts
    Member since:
    Sep 2014

    Posted 13 Nov 2014 Link to this post


    I'm trying to use the Slider with selection range enabled into a RadListBox item template. The items in the listbox are draggable to do some manual sorting. When I try to move the slider range values, the whole item is dragged and I cannot change the values. Is there a way to prevent item drag when the slide range values are been changed?

    Thanks, Jose
  2. Answer
    Martin Ivanov
    Martin Ivanov avatar
    1443 posts

    Posted 17 Nov 2014 Link to this post

    Hi Jose,

    Can you tell me how you are implement the dragging of the items? If you are using the ListBoxDragDropBehavior (like demonstrated in the Drag and Drop section in our help), you can set the DragDropManager.AllowDrag attached property on the RadListBoxItems to true, instead of the DragDropManager.AllowCaptureDrag. This way when you move the slide the item won't be dragged.

    <Style TargetType="telerik:RadListBoxItem">
                   <Setter Property="telerik:DragDropManager.AllowDrag" Value="True" />

    If this is not your case, can you please provide me with an isolated project demonstrating your drag and drop implementation? This will help me in better understanding your case and assist you further.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Jose
    Jose avatar
    4 posts
    Member since:
    Sep 2014

    Posted 17 Nov 2014 in reply to Martin Ivanov Link to this post

    It was my case and your solution worked!

    Thanks, Jose
Back to Top