Hi martin, thanks for the response.

I found a way around the problem. I have a simple PHP script below on
the server side and this causes IE to show a "Do you want to save?"
popup. (And my FormHandler.onSubmiteComplete never gets called)

Interestingly, however, if I comment out the header() line, then IE
won't show the popup and FormHandler.onSubmiteComplete() gets called
with the text "hello". Just for your info.

<?php
header("content-type: text/plain"); // this line causes IE to show the
file-save-popup.
echo "hello";
?>


On Sep 15, 1:48 am, Martin Trummer <[EMAIL PROTECTED]> wrote:
> what exactly is the response that the browser receives?
>
> you could use Fiddler to find out:http://www.fiddlertool.com/fiddler/
>
> On Sep 12, 10:04 pm, anjolight <[EMAIL PROTECTED]> wrote:
>
> > Hi, I am having a slight issue with FileUpload on IE7.
>
> > Basically, the server returns a text/plain json value after the file
> > upload. But on the return, IE7 shows the file download popup (asking
> > me if I want to save the text in a file). My FormHandler's
> > onSubmitComplete() was never called.
>
> > I ran the same code on firefox and chrome, and they worked fine. I was
> > able to get the json text in onSubmitComplete callback.
>
> > Can someone shed a light to this problem?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to