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

Drag and Drop to Canvas

3 Answers 125 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 02 Nov 2009, 03:54 PM
I have been playing around with the control for a bid now but I do not seem to be able to get it working.

I am trying to drag an Usercontrol form a Listbox onto a Canvas. Is this even possible with the control?
I might later also want to drop an item on a special placeholder wich is on an other item. It should then be dropped on a special property of the target Control. Would this senerio be possible with some coding?

Thank you in advance for the help.

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Stanoev
Telerik team
answered on 03 Nov 2009, 11:50 AM
Hello Kevin,

The scenarios you describe are perfectly possible. I have prepared a small example that demonstrates how to drag items from a ListBox and drop then onto a Canvas. Have a look at it and once you become more familiar with how Drag&Drop works and you have additional questions, let me know.

Sincerely yours,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Wojtek
Top achievements
Rank 1
answered on 02 Jul 2012, 12:38 PM
Is it possible to achieve such functionaliy (drag&drop between eg. Listbox and Canvas) using new Telerik.Windows.DragDrop.DragDropManager?
 My version of Telerik libs is 2012.2 607.
0
Nick
Telerik team
answered on 03 Jul 2012, 07:05 AM
Hi,

There should be no problem implementing the functionality with the DragDropManager. You can see a basic migration guide between the two managers here.

Hope this helps! 

Kind regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
DragAndDrop
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Wojtek
Top achievements
Rank 1
Nick
Telerik team
Share this question
or