Drag drop between treeviews

2 posts, 0 answers
  1. Todd
    Todd avatar
    13 posts
    Member since:
    Dec 2007

    Posted 27 Sep 2008 Link to this post

    Telerik team,

    I was wondering if someone could assist me with a small problem I am having?
    Currently I have two radtreeviews and I am using the built in telerik drag drop events
    with the feedback lines and arrows. The problem comes in when I drag a node from tree1(4 Items) to tree2(0 Items) the first item i drag I can drop the node from tree1 to tree2 anywhere on the tree2 control and it lets me, but when I drag a second item from tree1 to tree2 it wont let me drop it anywhere on the control only if the cursor is hovered over the first node i dragged in. Any help would be appreciated.

    Thank you for your time.

    Todd Kueny
  2. Jordan
    Jordan avatar
    547 posts

    Posted 29 Sep 2008 Link to this post

    Hi Todd,

    Actually this behavior is by design.

    The idea is that when the target treeview is empty it doesn't matter where you will drop the node (because there are no nodes). But when there are nodes in the target treeview, you can exactly specify where do you want to drop the dragged nodes (for example, before the second last node).

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top