PDA

View Full Version : Drag and Drop from Desktop/Windows Explorer into Ext GWT Widgets



imueller
30 Mar 2011, 12:56 AM
Hello,
I am wondering if there's a way to suppress the default behaviour of a browser to display a file, or pop up an open dialog when it is dragged and dropped from the Desktop/Windows Explorer onto an Ext GWT widget.

I tried to sink browser events with a LayoutContainer and suppress them to no avail. Every time a file is dropped on the LayoutContainer, the open dialog pops up or the file, e.g. pdf or a picture, is opened straight away.

Did anyone try to solve this problem before?