How can drag multiple files from the draggable list box

2 posts, 1 answers
  1. Kranthi
    Kranthi avatar
    15 posts
    Member since:
    May 2009

    Posted 20 Aug 2009 Link to this post

    Hello Telerik Team,

    I am using the DraggableListBox from the RAD WPF controls set. Now i have requirement of dragging multiple files from the source listbox and drop into destination list box.

    How to achive this requirement?

    Thanks,
    Kranthi


  2. Answer
    Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 20 Aug 2009 Link to this post

    Hello Kranthi,

    In the DragQuery event handler, you should set the payload to include all selected items in the listbox, instead of just the one that initiated the dragging. Other than that, there should not be anything special - just remember to transfer all of the items in the payload to the drop destination when the user ends the dragging.

    Best wishes,
    Tihomir Petkov
    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