Drag and drop between RadElements

2 posts, 1 answers
  1. Michael
    Michael avatar
    33 posts
    Member since:
    Mar 2009

    Posted 23 Apr 2009 Link to this post

    As far as I can tell, drag and drop events (e.g. DragEnter, DragLeave, etc) do not generally originate on RadElements.  Is that true?
  2. Answer
    Mike avatar
    640 posts

    Posted 24 Apr 2009 Link to this post

    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.

    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.
Back to Top