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
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