Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddHeader Download Popup happens twice
Message
From
15/08/2006 11:35:16
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxWeb
Title:
AddHeader Download Popup happens twice
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01145600
Message ID:
01145600
Views:
63
Small issue with the following. It works, but when the File Download window pops-up and I click on "Open" another (almost) exact pop-up appears. The only difference is that the "Always ask before opening this type of file" checkbox at the bottom is not grayed-out on the second one. The second one will actually open the download file. The first one works as exepected if I click on "Save" or "Cancel" so why would clicking on "Open" cause the second window to pop-up?
Response.AddHeader("Content-Type", "application/ms_excel")
Response.AddHeader("Content-Disposition", "attachment; filename=Principal_Download.xls")
cOutput = m.ExcelData
Response.Write(cOutput)
Reply
Map
View

Click here to load this message in the networking platform