Highlight destination

2 posts, 0 answers
  1. Scott Waye
    Scott Waye avatar
    111 posts
    Member since:
    Nov 2009

    Posted 19 Jan 2012 Link to this post

    Hi,  I have code to drag/drop from one RadGridView to another and it is working well using the events on the RadDragAndDropManager.  I have seen code to create visual lines when dragging into list boxes, but I am after something much simpler.  I just want to highlight the destination RadGridView (e.g. Opacity=0.5) when the drag is over the destination grid but I cant see a combination of events that will let me highlight when dragging over and restore the opacity when drag-leave.  There is no drag leave event, correct?

    How can this be achieved?

    Thanks,

    Scott
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 23 Jan 2012 Link to this post

    Hi Scott,

    Have you tried our DragDropManager? It is an alternative DragDrop mechanism, which provides more intuitive API, and allows implementations of more complex scenarios. You can read more about it here

    You can use the DragEnter, and DragLeave events to implement the desired logic. You can see all the events that the API provides here.

    Hope this helps!

    Greetings,
    Nik
    the Telerik team

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

  3. DevCraft banner
Back to Top