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

Drag and drop on nodes

1 Answer 42 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
lhalfon
Top achievements
Rank 1
lhalfon asked on 17 Sep 2008, 06:20 PM
Hi!
How can I enabled/disabled drag and drop on each Node ?
Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 18 Sep 2008, 06:04 AM
Hello lhalfon,

You can set the AllowDrag and AllowDrop properties for the required node accordingly.
aspx:
<telerik:RadTreeView ID="RadTreeView1" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" runat="server"
        <Nodes>        
            <telerik:RadTreeNode runat="server" AllowDrag="false" AllowDrop="false" Checkable="False" Text="Condos">        
            </telerik:RadTreeNode>  
        </Nodes> 
 </telerik:RadTreeView>  
      

You can also refer to this link for more details on the Drag and Drop feature of  TreeView.

Princy.
Tags
TreeView
Asked by
lhalfon
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or