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

Drag Template

1 Answer 55 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Meik Napierski
Top achievements
Rank 1
Meik Napierski asked on 22 Apr 2010, 05:49 PM
Hello,
how can i manipulate the visual appereane from the dragged nodes in the TreeView? In the GridView all dragged items have a blue background for example while dragging. In the TreeView the background of the dragged items is only transparent. How can i set the background of dragged nodes while dragging in the TreeView?

with best regards
Meik Napierski

1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 23 Apr 2010, 03:21 PM
Hi Meik,

The transparent 'dragged' node has the same CSS classes as the actual node that is being dragged, so you can set a CSS class on the original node in the OnClientNodeDragStart event and remove the class in the OnClientNodeDropped event.

Kind regards,
Dimitar Milushev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
Meik Napierski
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or