IE 5.0 make me crazy...

H

Herve MAILLARD

Hi,

I have an aspx page with a Graph (teechart) and a button (export).
The page is automatically updated by <META HTTP-EQUIV="Refresh"
content='20;url='>

When I click on the Export button, I execute the following code :

this.WebChart1.Chart.Export.Data.Excel.Save(@"c:\Inetpub\ftproot\" +
this.Session.SessionID.ToString() + ".xls");

this.Response.ContentType = "'application/octet-stream'";
this.Response.AddHeader("Content-Disposition", "attachment;
filename=Fichier_vent.xls");
// Envoi le fichier au Navigateur
this.Response.WriteFile (@"c:\Inetpub\ftproot\" +
this.Session.SessionID.ToString() + ".xls");
this.Response.End();

This generate a downloading dialogbox in order to download the file
generated by the server.

With IE6 no problem, the page is still refresh, every 20 seconds.

With IE5, it stop to be refreshed after I click on the export button ...

What can I do ?

Thanks for your help.


H. MAILLARD
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top