Re: Drag and drop (and Internet Explorer)

2013-03-22 Thread Helen
Many thanks for your additional suggestions. I will give them all a try, but for the time being I've decided that native drag and drop is a long way off useable, so I've written my own implementation instead. Helen On Thursday, March 21, 2013 10:42:39 PM UTC, Andrea Boscolo wrote: Check

Re: Drag and drop (and Internet Explorer)

2013-03-21 Thread Helen
Hi Andrea, Thanks for your suggestion. I've tried using a link, and this doesn't work either. If I use an image, then the dragover events work, but not the drop event. It's worth noting that I'm experimenting in IE10, so according to the documentation you've highlighted all elements

Re: Drag and drop (and Internet Explorer)

2013-03-21 Thread Andrea Boscolo
Check if DragDropEventBase.isSupported() and if not, stop trying :D According to [1] is not supported by ie6 and ie8 and there is a 'maybe' for everything else. I can't see where the problem could be, you are doing the right things: - set the element draggable; - add a dragstarthandler to the

Drag and drop (and Internet Explorer)

2013-03-20 Thread Helen
Hello all, I've created a test project to experiment with native drag and drop (2.5.1). It works in fine Firefox and Chrome, but in Internet Explorer the dropItem events don't fire. Here is the code: public void onModuleLoad() { final TextBox textBox = new TextBox(); final HTML

Re: Drag and drop (and Internet Explorer)

2013-03-20 Thread Andrea Boscolo
Reading [1] seems like IE9 supports dataTransfer object only on images, links, and text. Starting from IE10 it supports dd on any element (using the draggable attribute), and the file attribute to the dataTransfer object. On IE9 try to use an hyperlink/image as a draggable. [1]