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

Highlight destination

1 Answer 69 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Scott Waye
Top achievements
Rank 2
Iron
Veteran
Iron
Scott Waye asked on 19 Jan 2012, 11:44 PM
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

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 23 Jan 2012, 12:10 PM
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 >>

Tags
DragAndDrop
Asked by
Scott Waye
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Nick
Telerik team
Share this question
or