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

Treeview node drag drop

4 Answers 113 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
tom
Top achievements
Rank 1
tom asked on 29 Dec 2008, 08:05 PM
How can I drop selected text from outside source on to a treeview node?
All I need is an (client-javascript) event trigger when some thing is drop on a treeview node.
Currently, only a node can be dropped on another node.
Somebody has already done this in the discussion.

Thanks.

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Dec 2008, 10:05 AM
Hi Tom,

The following code library submission shows how to drag and drop rows from RadGrid to RadTreeView. Give it a spin and let me know how it goes.
Drag and Drop between RadGrid and RadTreeView

Shinu

0
tom
Top achievements
Rank 1
answered on 30 Dec 2008, 04:03 PM
Thanks Shinu,
I did see and try it.
It uses OnClientMouseOver event. 
I need OnClientNodeDrop event (This event does not trigger unless I select a tree node before hovering another tree node).

Is there anyway to overwrite/force an OnClientNodeDrop event no matter if I has/hasn't selected a node before?

Thanks.
 
0
Shinu
Top achievements
Rank 2
answered on 31 Dec 2008, 05:14 AM
Hi tom,

I found one forum thread discussiing about tge "ClientNodeDrop" event with treeview, would you please go through that and let me know whether it helps.
NodeDrop and ClientNodeDrop

Thanks,
Shinu.
0
tom
Top achievements
Rank 1
answered on 02 Jan 2009, 08:09 PM
Treeview does not allow me to drag something else (beside treeview node and grid) and drop on a node in the tree.
Can you point me to a place in the treeview source code to change this behavior?

Thanks. 
Tags
TreeView
Asked by
tom
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
tom
Top achievements
Rank 1
Share this question
or