I've looked around, but I can't find the answer to this, so here gos. Does anybody know how to detect that a drag operation has been ended, in the case where the ending isn't caused by dropping the node? The two cases where I can get this to happen are (1) dragging the node outside the bounds of the browser window and (2) pressing escape while dragging.
I am using the client side events OnClientNodeDragging and OnClientNodeDropping, but OnClientNodeDropping doesn't fire in the above two cases, which seems correct since you haven't dropped the node.
I need to know when the drag has ended, whether dropped or otherwise, so that I can revert the selected node back to whatever it was before the drag began.
Thanks in advance