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

ListBox DragDrop in Panel

1 Answer 80 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gourangi
Top achievements
Rank 1
Gourangi asked on 17 Feb 2009, 11:52 AM
Hi,

I have added few items in my listbox, and there is one panel which allow drop property is true.

I have handled MouseDown event of listbox and checked if any item is selected if yes then I am calling DoDragDrop() method and passed approprite data. And my panel accepts those data.

Now I think as I have handled mousedown event of listbox, I cannot select another Item (the item that is already selected cannot be changed) !

I think I should not handle MouseDown event, is there any alternative !
Or there must have ItemDrag event, just like we have in System.Windows.Forms.ListView !

Regards,
Divyesh Chapaneri

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 23 Feb 2009, 03:36 PM
Hello Divyesh Chapaneri,

Thank you for the question.

I was not able to reproduce the described issue with my drag and drop implementation. I am attaching a sample project which demonstrates it. You can use this implementation as a base for your scenario. If you, however, want to use your own approach please open a new support ticket and send me your project. This will allow me to assist you further.

If you have additional questions, feel free to contact me.

All the best,
Nikolay
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.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Gourangi
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or