Home - Forums-.NET - FlyTreeView (ASP.NET) - Want tree view list

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Want tree view list
Link Posted: 31-Mar-2008 23:00
I want to drag a node with childnodes onto another node containing childnode as well. Right now the dropped node get added below the childnodes, I want that node consisting of child on top of the list

e.g                          Node1
                              -----Node 2
                              -----Node 3
                              -----Node 4
                              -----Node 5  (dropped Node)
                              ----------Node 6  
                              ----------Node 6

I want it like this

                              Node1
                              -----Node 5  (dropped Node)
                              ----------Node 6  
                              ----------Node 6
                              -----Node 2
                              -----Node 3
                              -----Node 4

This can be done programmatically looping through the nodes and adjusting them, but i want to know is there any solution to add the drop node at any desired place or on top of the list.
Link Posted: 31-Mar-2008 23:05
Currently, D&D implementation does not allow to drop node between other nodes. Node can only be dropped onto another one and appends to its childnodes collection.
So the only way is to programmatically handle drop event and adjust treeview the way you need. User cannot select drop position by himself.
Link Posted: 01-Apr-2008 00:25
EvgenyT are you an intelligence robot? Every time there to answer the posts.
Nice response time.
Link Posted: 01-Apr-2008 00:38
Actually, I just get post notifications