Home - Forums-.NET - FlyTreeView (ASP.NET) - Dynamic Drag And Drop

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Dynamic Drag And Drop
Link Posted: 28-Nov-2005 20:41
Hi

I am creating a tree at run time which can contain more than 2k nodes at root and child level.

Now I want to implement Drag and Drop for this tree but in presently available properties for drag n drop we explicitly have to mention the names of the nodes in DragDropAcceptNames list. In this scenario it will be really difficult to give this list against each node as the complexity will be really high and performance will be degradeed in doing so.

Is there any other way round - a property or script , which simply sets Drag n Drop for the whole tree where we don't need to mention individual node names in the DragDropAcceptNames list.


Thanks

Baber
Link Posted: 28-Nov-2005 23:40
You may set the FlyTreeView.DefaultNodeType drag and drop properties and also you may define a number of named nodetypes in FlyTreeView.NodeTypes collection with these properties.
So you may simply apply these nodetypes to required nodes.