I want to drag an icon and drop it on an cavas, while dropping I need to get the mouse release position to place the icon, but the (DragDropEventArgs)e.options.MouseClickEvent is not the position which the mouse released. is there any way to get the right position, thanks.
iven.
3 Answers, 1 is accepted
0
Miroslav
Telerik team
answered on 03 Jun 2009, 09:08 AM
Hi Iven,
You can use the CurrentDragPoint from the DragDrop options object during drop complete to get the mouse release position. The point is relative to the visual root object. I.e. something like:
Naming of these variables caused me to have the exact same issue... i am looking for something related to mouse position, so we automatically went to the MouseClickEvent when instead we wanted the drop "LeftMouseUp" event aka CurrentDragPoint in this case