Re: Download Dialog Appears Twice
When I try that I get the dowload dialog twice, but Notepad only opens after the second time
I have also discovered that this only happens when the page is requested using POST rather than GET. Also, it is a browser issue as it happens with IE6 SP1 but not with IE6 SP2 (the version with Windows XP SP2 RC1) or Mozilla 1.
Thank
Bil
----- Patrice wrote: ----
Really weird. I would start by tring just those lines
<
Response.AddHeader "Content-disposition", "attachment; filename=Report.txt
Response.Write "Hello World !
%
Do you have the download dialog twice ? Does it open notepad twice
Patric
"BillH" <anonymous@discussions.microsoft.com> a écrit dans le message d
news:69858DA0-3C43-4491-B2F0-957F683E98E1@microsoft.com..[color=blue]
> I have an ASP page to download a CSV file using the following code[color=green]
>> Response.ContentType="text/plain[/color]
> Response.AddHeader "Content-disposition", "attachment[/color]
filename=Report.csv[color=blue]
> Response.Write strCS[color=green]
>> When I run this, I get the download dialog displayed twice. Any ideas ho[/color][/color]
to solve this[color=blue][color=green]
>> Thank[/color]
>[/color] |