This is a migrated thread and some comments may be shown as answers.

Drag and Drop onto itself creates duplicate item.

2 Answers 105 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 03 Nov 2016, 03:56 PM

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 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 08 Nov 2016, 11:47 AM
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.
0
Frank
Top achievements
Rank 1
answered on 28 Nov 2016, 05:29 PM
This can be disregarded.  We are using System.windows.control.listbox.  And using RadDragandDropmanager to handle the drag drop operations in the viewmodel.
Tags
ListBox
Asked by
Frank
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Frank
Top achievements
Rank 1
Share this question
or