I had the same issue and ended up having to write some JSNI to query the frame's readyState every X milliseconds for IE (load event wasn't firing consistently). It's pretty straightforward to do, but I don't have the code any more because there were just too many other IE issues with the iframe download approach the way I had been doing it that I just used the simple anchor tag downloads instead.
On Jul 21, 2:28 pm, elloalisboa <elloalis...@gmail.com> wrote: > I'm using GWT 2.3.0 in my project and I have an iframe and a loading > mask. When the iframe content (to be more specific, the content is a > PDF) is loaded I need to hide the loading mask. > > I tried using: > > Frame frame = new Frame("http://www.example.com/example.pdf") {{ > addDomHandler(new LoadHandler() { > public void onLoad(LoadEvent event) { > loadingMask.setVisible(false); > } > }, LoadEvent.getType()); > > }}; > > and: > > Frame frame = new Frame("http://www.example.com/example.pdf") { > @Override > protected void onLoad() { > super.onLoad(); > loadingMask.setVisible(false); > } > > }; > > Because of the content is a PDF, both codes don't work in IE. > > Is there a way to get the readyState iframe property with GWT? > > I would appreciate any feedback. Thanks for all. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.