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

Drag and Drop Between Nodes From RadListBox?

3 Answers 45 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
LeBear
Top achievements
Rank 1
LeBear asked on 18 Mar 2013, 04:06 AM
I have a RadListBox where I want to drag items into a RadTreeView.  I've enabled drag and drop between nodes, and it works for the nodes within the tree view, but when I drag an element from the list box to the tree view, I don't seem to have the opportunity to drop between nodes.

Interestingly, the event handler on the list box does tell me if it's above or below, but (1) I don't get the dotted line, and (2) I'm not certain it's accurate.

Is this scenario supported?

Thank you.

3 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 19 Mar 2013, 08:49 AM
Hello Barry,

We have a demo that demonstrates this scenario exactly. I suggest that you take a look at it -> Drag and Drop Between RadListBox and RadTreeView


Greetings,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
LeBear
Top achievements
Rank 1
answered on 19 Mar 2013, 10:58 AM
Hello.  Thank you, but...

I didn't emphasize it, but the problem is that I can't drag from the listview and drop between nodes on the treeview.  The demo doesn't do that, either.  Is it possible?

Thanks.
0
Genady Sergeev
Telerik team
answered on 22 Mar 2013, 08:40 AM
Hello Barry,

It is not possible to drop between the nodes as this is a design limitation. In order to do that we will need to change the drop and down behavior of RadTreeView, which may lead to breaking changes.

All the best,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeView
Asked by
LeBear
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
LeBear
Top achievements
Rank 1
Share this question
or