This topic will walk you through setting C1TreeView properties to allow drag-and-drop behaviors within one tree structure.
In Design View
In Source View
Add the following markup to the first set of <cc1:C1TreeView>
tags.
Markup |
Copy Code
|
---|---|
AllowDrag="True" AllowDrop="True" |
The <cc1:C1TreeView>
tags should resemble the following sample.
Sample |
Copy Code
|
---|---|
<cc1:C1TreeView ID="C1TreeView1" runat="server" AllowDrag="True" AllowDrop="True"> |
Press F5 to run your program. Note that you are now able to rearrange the nodes.