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

How do I get the Value of the TreeViewNode after an RadGridItem is dragged and dropped there.

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jing
Top achievements
Rank 1
jing asked on 05 Jul 2010, 08:11 AM
Is there any code sample that I can get the value of a TreeViewNode after dropping the RadGridItem?

Can't find any sample code from RadGrid t RadTreeView.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Veli
Telerik team
answered on 07 Jul 2010, 12:46 PM
Hi jing,

Implementing this scenario involves usage of both RadGrid's and RadTreeView's client-side events. Particularly, when grid items are dragged and the mouse enters and leaves treeview nodes, we need to record the current tree node. This will help us access it when the grid items are dropped.

To demonstrate this scenario, attached is a test page with RadGrid and RadTreeView. RadGrid items can be dragged over RadTreeView nodes and you can get the destination node's client object when the dragged items are dropped.

Greetings,
Veli
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
Grid
Asked by
jing
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or