Drag and drop ListBox items with custom selection.

2 posts, 0 answers
  1. Pavel
    Pavel avatar
    10 posts
    Member since:
    Feb 2013

    Posted 12 May 2014 Link to this post

    i've got some custom selection behavior for my ListBox items (checkboxes in DataTemplate).
    I'm generating my own custom payload. 
    But I want to enable reordering. In this case ListBoxDragDropBehavior overrides my payload with it's own payload. 
    How can I control this flow to prevent overriding my payload. 
  2. Kalin
    Kalin avatar
    1360 posts

    Posted 15 May 2014 Link to this post

    Hi Pavel,

    Thank you for contacting us.

    If I understand correctly the scenario you have implemented a custom drag drop functionality with the DragDropManager and have used the ListBoxDragDropBehavior at same time in order to enable reordering? We don't recommend using both approaches together as this may cause such issues. However what I can suggest you is to check the attached sample project which demonstrates how to implement reordering of the ListBoxItems using only the DragDropManager.

    Hope this helps.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top