Drag&Drop on a RadWindow

4 posts, 0 answers
  1. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 11 Dec 2009 Link to this post

    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
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 16 Dec 2009 Link to this post

    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.
  3. DevCraft banner
  4. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 23 Dec 2009 Link to this post

    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
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 04 Jan 2010 Link to this post

    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.
Back to Top