Drop event from Palette

Hi ,
i just want to get the event while dragging from palette and doping on diagram. I have also check this HTML Drag and Drop, and external Clipboard pasting
but it doesn’t work tell me some another way to do this.

How is that sample not working for you? I just tried it and it worked well for me.