Drag and Drop onto itself creates duplicate item.

3 posts, 0 answers
  1. Frank
    Frank avatar
    2 posts
    Member since:
    Jun 2016

    Posted 03 Nov Link to this post

    When you Drag and drop an item onto itself it is creating a duplicate item in the listbox.  Is this expected behavior and if so is there a way to prevent it from creating the duplicate item.

     

    We don't handle the ghost entry so it isn't a real problem just visually its been annoying our users.

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 08 Nov Link to this post

    Hello Frank,

    Unfortunately, I'm unable to reproduce the behavior you've described in a sample project, nor can I reproduce it in the demos available in the Silverlight Controls Samples or SDK Samples Browser.

    I'm attaching a sample project where I've set up a RadListBox with a DragDropBehavior set to the default implementation of the ListBoxDragDropBehavior class as demonstrated in the Drag & Drop Overview article. Could you please try reproducing the issue in this sample project and let me know what modifications I should make?

    If you're unable to do so, could you please provide more information on the setup you have at your end or, ideally, provide a sample project which demonstrates the issue, so that I may better assist you in finding a solution?

    Thank you in advance for your cooperation on the matter. I will be awaiting your reply.

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
  4. Frank
    Frank avatar
    2 posts
    Member since:
    Jun 2016

    Posted 28 Nov in reply to Dilyan Traykov Link to this post

    This can be disregarded.  We are using System.windows.control.listbox.  And using RadDragandDropmanager to handle the drag drop operations in the viewmodel.
Back to Top