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

Drag&Drop on a RadWindow

3 Answers 31 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Miłosz Cechnicki
Top achievements
Rank 1
Miłosz Cechnicki asked on 11 Dec 2009, 01:45 PM
Hi,
I encounter a problem when using drag&drop between a listbox and a treeView, where both are located on same RadWindow control. When dragging and item, I only receive dropQuery and dropInfo event on a TreeView when the mouse pointer is just at the border of the tree, and then all the event go down, to the main control (on this control, behind the RadWindow is also a TreeView) - so all the event are going to it.

Also when pressing Esc while dragging item on child window there is an exception from telerik library (exception window as attachment).
Are there some properties, that helps operating with drag&drop on radWindows?

Best regards

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 16 Dec 2009, 03:08 PM
Hi Miłosz,

Unfortunately I was not able to reproduce the issue. I have prepared a small sample project that demonstrates drag&drop functionality between listboxes and treeview. Have a look at it and let me know if I am doing something wrong or you manage to reproduce the issue again.


Sincerely yours,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Miłosz Cechnicki
Top achievements
Rank 1
answered on 23 Dec 2009, 11:43 AM
Hi,
Thank You for Your reply.
In such situation it seems to work properly. The problem is (at least in my project), if under the rad window is, on the main application's control, is also a rad tree view, that accepts drops. Then most of the events go to the tree on the main form, except for those about dropping in, after and before items, and about dropping on tree view itself, but *only* if the mouse pointer is on the edge of the treeView. If the mouse moves further, all next event go to the tree view being 'below' on the main form.

Best regards
0
Kiril Stanoev
Telerik team
answered on 04 Jan 2010, 08:55 AM
Hello Miłosz,

Happy New Year and excuse us for the late reply.
Please have a look at the attached sample project. It is an extended version of the previous project with one addition - there is treeview bellow the window. If you run the project you can see that everything works as expected. Give it a try and if you still manage to reproduce the issue, let me know the exact steps.

Sincerely yours,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
DragAndDrop
Asked by
Miłosz Cechnicki
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Miłosz Cechnicki
Top achievements
Rank 1
Share this question
or