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.
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.
This can be disregarded. We are using System.windows.control.listbox. And using RadDragandDropmanager to handle the drag drop operations in the viewmodel.