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

Drag drop between treeviews

1 Answer 69 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Todd
Top achievements
Rank 1
Todd asked on 28 Sep 2008, 04:05 AM
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

1 Answer, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 29 Sep 2008, 08:16 PM
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).
 

Greetings,
Jordan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Treeview
Asked by
Todd
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Share this question
or