R
rocco.padovani
Hello,
I have a problem with a response.flush code only with some versions of
IE6.
This is my code:
private void Page_Load(object sender, System.EventArgs e)
{
Response.Cache.SetExpires( DateTime.Now );
Response.CacheControl = "NO-CACHE";
Response.AddHeader( "PRAGMA", "NO-CACHE" );
Response.Clear();
weight:bold;color:#666666;border:none;background-color:#F2F8EA;'><img
src='animazione_freccia.gif' width='30' height='30' align='absMiddle'
border='0' /
Response.Write(str);
Response.Flush();
SysXml.TransformSource = "TestFlush.xslt";
int delatTime;
try
{
delatTime =
Convert.ToInt32(Request.QueryString["TIME"].ToString());
}
catch{
delatTime = 0;
}
System.Threading.Thread.Sleep(delatTime);
XmlDocument doc = new XmlDocument();
doc.Load(Server.MapPath("TestFlush.xml"));
XslTransform trans = new XslTransform();
trans.Load(Server.MapPath("TestFlush.xslt"));
SysXml.Document = doc;
SysXml.Transform = trans;
}
This code works fine with IE5.5, IE7, IE6 ver
6.0.2900.2180.xpsp_sp2_gdr.061219-0316 (ITA) but not with IE6 ver
6.0.2900.2180.xpsp_sp2_gdr.050301-1519 (EN).
Can somebody help me?
Thanks
Rocco
I have a problem with a response.flush code only with some versions of
IE6.
This is my code:
private void Page_Load(object sender, System.EventArgs e)
{
Response.Cache.SetExpires( DateTime.Now );
Response.CacheControl = "NO-CACHE";
Response.AddHeader( "PRAGMA", "NO-CACHE" );
Response.Clear();
Verdana, Arial, Helvetica, sans-serif;font-size:8pt;font-string str = said:<br/><div style='text-align:center;padding:4 4 4 4;font-family:
weight:bold;color:#666666;border:none;background-color:#F2F8EA;'><img
src='animazione_freccia.gif' width='30' height='30' align='absMiddle'
border='0' /
dati in corso, attendere...</div></div></center>"; Caricamento
Response.Write(str);
Response.Flush();
SysXml.TransformSource = "TestFlush.xslt";
int delatTime;
try
{
delatTime =
Convert.ToInt32(Request.QueryString["TIME"].ToString());
}
catch{
delatTime = 0;
}
System.Threading.Thread.Sleep(delatTime);
XmlDocument doc = new XmlDocument();
doc.Load(Server.MapPath("TestFlush.xml"));
XslTransform trans = new XslTransform();
trans.Load(Server.MapPath("TestFlush.xslt"));
SysXml.Document = doc;
SysXml.Transform = trans;
}
This code works fine with IE5.5, IE7, IE6 ver
6.0.2900.2180.xpsp_sp2_gdr.061219-0316 (ITA) but not with IE6 ver
6.0.2900.2180.xpsp_sp2_gdr.050301-1519 (EN).
Can somebody help me?
Thanks
Rocco