Hi,
Thanks for your ideas!
1) I have disabled buffer in aspx page explicitly by
adding "Buffer" property set to "False". I also removed buffering using IIS
management concole.
2) I have tryied this one too, however without a success.
PS. Must note that everything works fine, when the control is moved outside
the HTML body.
See the example below:
<my:LongLasting Rendering Runat="Server" .../>
<html>
...[Other html code]
</html>
However the Response.Flush doesn't work when i change the code above into:
<html>
....
<body>
<my:LongLasting Rendering Runat="Server" .../>
</body>
</html>
--
m2
"Patrice" <no****@nowhere .com> wrote in message
news:%2******** *******@TK2MSFT NGP15.phx.gbl.. .
1) Not buffered ?
2) Try to enclose this in a tag. Don't remember this exact point but AFAIK
most browsers render up to the last closing tag...
Patrice
--
"Mantas Miliukas" <ma****@raktas. net> a écrit dans le message de
news:e0******** *****@TK2MSFTNG P14.phx.gbl... Hi,
I have problem when flushing the generated HTML code to the client.
It seems that "Page.Response. Flush()" method doesn't work at all.
See my code below:
protected override void Render(HtmlText Writer writer)
{
for (int i = 0; i < 100; i ++)
{
writer.Write(". ..");
writer.Flush();
Page.Response.F lush();
System.Threadin g.Thread.Sleep( 1000);
}
}
The "..." are not sent to the client until the whole asp.net page is
generated.
Have any clues, ideas?
Thanks for your help.
---
m2