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

Adding drag and drop to dynamic images / elements to a canvas

1 Answer 100 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Simon Allport
Top achievements
Rank 2
Simon Allport asked on 14 Jul 2010, 03:26 PM
Hi,
Is it possible to add drag drop to dynamically added images or elements to a canvas and if yes how do you do it please?
Thanks

Simon

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 20 Jul 2010, 08:07 AM
Hello Simon Allport,

You can allow the DragAndDrop operation in code-behind using:
RadDragAndDropManager.SetAllowDrag( element, true );
More information about how to allow the DragAndDrop operations with the RadDragAndDropManager you can find here.

I also prepared a sample project illustrating a possible approach towards your scenario. Take a look at it and let me know if you need more info.

All the best,
Tina Stancheva
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
DragAndDrop
Asked by
Simon Allport
Top achievements
Rank 2
Answers by
Tina Stancheva
Telerik team
Share this question
or