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

[Solved] Drag and Drop with Node Templates

1 Answer 146 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 22 Jan 2008, 04:03 PM
Hi,

I'm having a problem when dragging a node from treeview1 that has an individual node template to treeview2. The first time the drag is performed everything works fine... ie. The node is added to treeview2 with the node template intact. If I try to drag another node from tree1 to tree2 the node template disappears, not only for the dropped node in tree2 but all nodes in tree1 and any node that had been added to tree2...

Any suggestions on how to resolve this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 23 Jan 2008, 04:38 PM
Hello Jason,

Can you please open a support ticket and send us a sample project illustrating your approach? There are many ways to assign a template to a node (template for the entire tree, per node template, in the code-behind etc.) and a sample project would help us understand your exact scenario much quicker and suggest you a solution sooner.

Thank you for your understanding.

Greetings,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Jason
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or