I've been working with the new drag and drop framework for a little while now. Currently I have a need for the mouse coordinates whenever the item is dropped. Normally I would just throw a onmouseup event and grab the coordinates that way. However, for some reason that event never fires when I have a drag and drop item attached to the mouse.
Also I tried using evntArgs.get_x() and evntArgs.get_y() from inside the DropHandler method. This threw the Object doesn't support this property or method error.
function dropHandler(source, evntArgs)
{
var tmpx = evntArgs.get_x();
var tmpy = evntArgs.get_y();
}
Any help here would be much appreciated. Thank you for your time.
Thank you for your reply. It worked like a charm.