Drag and Drop between ListBox using MVVM

3 posts, 0 answers
  1. shivir
    shivir avatar
    4 posts
    Member since:
    Jul 2010

    Posted 10 Dec 2010 Link to this post


    How can achive Drag and Drop between Listboxes using MVVM. The main problem is how to handle the Drag and Drop feature in MVVM.

    Rajib Banerjee.
  2. Tsvyatko
    Tsvyatko avatar
    832 posts

    Posted 15 Dec 2010 Link to this post

    Hello shivir,

    Please check this blogpost and let me know if this help with your scenario - http://blogs.telerik.com/tsvyatkokonov/posts/10-12-15/using_commands_with_raddraganddropmanager.aspx

    Let me know if you have any further questions.

    All the best,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft R3 2016 release webinar banner
  4. ultramods
    ultramods avatar
    18 posts
    Member since:
    Sep 2009

    Posted 29 Mar 2011 Link to this post

    Hi, I have implemented drag and drop using commands and VM as per your blog post, however I have an issue.

    I am dragging an item from a tree view and dropping it into a list box, this works ok. However my issue is that the item from the tree view is always removed, I would like it to remain (copy instead of cut). I have tried various approaches to prevent the item from being removed (including cloning etc) but I can't get it to work.

    Any help would be appreciated, thanks.

Back to Top