Hi,
I'm new in using your nice controls. Great job guys!
Now to my problem:
My application needs the functionality to drag & drop tree nodes between two treeviews which are placed in separate grid columns.
Drag and Drop does not work. If I try to drag an item, the mouse cursor does not change and I have no idea why.
The definition of the first treeview is:
<telerik:RadTreeView IsOptionElementsEnabled="True"
ItemsOptionListType="CheckList"
IsLineEnabled="True"
IsTriStateMode="True"
LoadOnDemand="oTreeViewSource_LoadOnDemand"
ItemPrepared="oTreeViewSource_ItemPrepared"
IsDragDropEnabled="True"
IsDragTooltipEnabled="False"
AllowDrop="True"
Margin="6"
SelectionMode="Multiple"
Name="oTreeViewSource" />
and the definition of the second is:
<telerik:RadTreeView IsDragDropEnabled="True"
AllowDrop="True"
Name="oTreeViewTarget"
Margin="6"></telerik:RadTreeView>
The items in the first treeview were added like this:
RadTreeViewItem oTreeViewTargetItem = new RadTreeViewItem();
oTreeViewTargetItem.Header = "New item";
nIndex = oTreeViewSource.Items.Add(oTreeViewTargetItem);
Does anyone has an idea what is wrong?
Thanks
Dieter
I'm new in using your nice controls. Great job guys!
Now to my problem:
My application needs the functionality to drag & drop tree nodes between two treeviews which are placed in separate grid columns.
Drag and Drop does not work. If I try to drag an item, the mouse cursor does not change and I have no idea why.
The definition of the first treeview is:
<telerik:RadTreeView IsOptionElementsEnabled="True"
ItemsOptionListType="CheckList"
IsLineEnabled="True"
IsTriStateMode="True"
LoadOnDemand="oTreeViewSource_LoadOnDemand"
ItemPrepared="oTreeViewSource_ItemPrepared"
IsDragDropEnabled="True"
IsDragTooltipEnabled="False"
AllowDrop="True"
Margin="6"
SelectionMode="Multiple"
Name="oTreeViewSource" />
and the definition of the second is:
<telerik:RadTreeView IsDragDropEnabled="True"
AllowDrop="True"
Name="oTreeViewTarget"
Margin="6"></telerik:RadTreeView>
The items in the first treeview were added like this:
RadTreeViewItem oTreeViewTargetItem = new RadTreeViewItem();
oTreeViewTargetItem.Header = "New item";
nIndex = oTreeViewSource.Items.Add(oTreeViewTargetItem);
Does anyone has an idea what is wrong?
Thanks
Dieter