473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

IE 5.0 make me crazy...

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:\I netpub\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
Nov 17 '05 #1
1 1257
You could try using a client side javascript timer instead.
http://www.crows.co.uk/Javascript/timer.htm

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Herve MAILLARD" <rv********@free.fr> wrote in message
news:3f***********************@news.free.fr...
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:\I netpub\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

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys()...
9
by: Leif K-Brooks | last post by:
I try to make my code comply to the Python style guide (http://www.python.org/peps/pep-0008.html). Last time I read it, I swear that it said to use CamelCase for often-used functions and...
1
by: Bulba! | last post by:
OK. I have reworked this program (below) to use just the data manipulation capabilities of Python (training was largely the motivation). I've tried to manipulate the data just in Python and not in...
7
by: Oliver Andrich | last post by:
Hi everybody, I have to write a little skript, that reads some nasty xml formated files. "Nasty xml formated" means, we have a xml like syntax, no dtd, use html entities without declaration and...
11
by: doltharz | last post by:
Please Help me i'm doing something i though was to be REALLY EASY but it drives me crazy The complete code is at the end of the email (i mean newsgroup article), i always use Option...
19
by: Daniel Billingsley | last post by:
I think it's really nice to be able to do code like someVariable = someMethod(new SomeClass("some text")); However, as method signatures are number and types of parameters, you're limited to...
3
by: squash | last post by:
I have spent two hours trying to make sense of this script, called crazy.php. The output should be nothing because $cookie_password is nowhere defined in this script, correct? But it actually...
28
by: onkar | last post by:
This idea might be vey crazy. But I hope to get answers to this .. from comp.lang.c If a compiler is designed such that it automatically adds a free() matching every malloc() then is it not a...
0
by: eighthman11 | last post by:
Access 2000. Sql Server I know this is going to sound crazy but I have a continuous form which is bound to a sql table with an ODBC connection. I filter the records in the Continous form...
3
by: rashpal.sidhu | last post by:
Please help, this problem is driving me crazy !! I am using metaphone to create phonetic keys. When i run the module stand-a-lone it works fine. I'm trying to create a runner for informix...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.