<ig:WebDataTree id="WebDataTree1" runat="server"> <DragDropSettings AllowDrop="true" DragDropMode="Copy" EnableDragDrop="True" /> … </ig:WebDataTree>
Drag and Drop Modes
WebDataTree™ supports three drag and drop modes.
Copy – copies selected node(s) to the dropped location
Move – cuts selected node(s) and moves them to the new location
Default – works as Copy if we hold the Ctrl key pressed while we move selected node(s),
and behaves as Move if we just drag and drop to the new location
In HTML:
<ig:WebDataTree id="WebDataTree1" runat="server"> <DragDropSettings AllowDrop="true" DragDropMode="Copy" EnableDragDrop="True" /> … </ig:WebDataTree>
In C#:
this.DDWebDataTree.DragDropSettings.DragDropMode = Infragistics.Web.UI.NavigationControls.DragDropMode.Copy;