IE6 SP2 blocking dynamic file export

G

Guest

I have a web application that featues the ability to export data to excel.

The application opens in a popup window from the login page that detects if
the application's popup window is blocked and instructs the user to "Always
allow popups from this site". After the user has logged into the application,
they choose the excel export. The application opens a popup window to the
file export page. You hear the explorer "blip" that tells me that the file
attachment was blocked then the popup window closes.

This only happens in IE6SP2. Prior versions of IE, it prompted the user to
Open or Save. If they chose Open, it would properly open the file in excel.

Method Used in the file export page:

Response.Clear();
Response.Charset="";
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "attachment; "+
"filename=ClientTrackExport.xls");
//Write out excel file
Response.Flush();
Response.End();

How can I get this to work in IE6 SP2?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top