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

Drag and drop between RadElements

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Michael asked on 23 Apr 2009, 09:47 PM
As far as I can tell, drag and drop events (e.g. DragEnter, DragLeave, etc) do not generally originate on RadElements.  Is that true?

1 Answer, 1 is accepted

Sort by
0
Accepted
Mike
Telerik team
answered on 24 Apr 2009, 05:14 PM
Hi Michael,

Yes, only RadControls have these events, that extend the functionality of base Control, which is generally provided by the OS.

Nevertheless implementing drag and drop for RadElements should not be a great problem, since all RadElement support hit-testing. Also visual feedback can be achieved by painting RadElement in a bitmap using its GetAsBitmap method.

I've attached a sample that demonstrates how you can reorder RadItems In a ListBox by drag & drop.

Let me know if you need further assistance with this.

Regards,
Mike
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 2
Answers by
Mike
Telerik team
Share this question
or