Drag and Drop to Canvas

4 posts, 1 answers
  1. Kevin Hendriks
    Kevin Hendriks avatar
    56 posts
    Member since:
    Feb 2009

    Posted 02 Nov 2009 Link to this post

    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.
  2. Answer
    Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 03 Nov 2009 Link to this post

    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.
  3. Wojtek
    Wojtek avatar
    7 posts
    Member since:
    Jun 2012

    Posted 02 Jul 2012 Link to this post

    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.
  4. Nick
    Nick avatar
    593 posts

    Posted 03 Jul 2012 Link to this post


    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,
    the Telerik team

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

Back to Top