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

how to access outside data in DragEnding event

1 Answer 38 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Raj Sharma
Top achievements
Rank 1
Raj Sharma asked on 15 Feb 2010, 03:37 PM

I am using DragEnding event of RadTreeView to write my business logic when something is dropped in tree.

I can do drop to the tree view from 2 places...

1) Within the tree view i can perform drag and drop. (For reordering the nodes)

2) From outside the tree view i can drop objects of different types. The objects to be dropped into treeview can be single or multiple.

    In Windows tree view control there is event DragDrop. where we can get the data of any types which are being dropped into treeview, and we can typecast perform operations.
like e.Data.GetData(Type of data) .

How do i get this in DragEnding event. 

Thanks,
Raj  

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 16 Feb 2010, 09:27 AM
Hi Raj Sharma,

RadTreeView drag and drop methods do not support arbitrary objects, they only support drag and drop between RadTreeViews and inside a RadTreeView itself. The standard .NET drag and drop and RadTreeView mechanism are mutually exclusive which means that you will have to choose only one and tailor your application toward it. Please write again if you have other questions.

Regards,
Victor
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
Raj Sharma
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or