When is Response.Flush honoured?

  • Thread starter Thread starter Shardul Kulkarni
  • Start date Start date
S

Shardul Kulkarni

Hi,

I would like to know the pre-requisite conditions for Response.Flush to be
honoured. Can you override the default semantics of this in any way?

Thanks.
Shardul
 
The only condition condition I can think of is to use the buffered mode...
What is the problem ?

Patrice
 
Note in particular that it doesn't necessarily cause the browser to render
something. In particular if you flush an opening HTML tag without the
corresponding closing tag, it's likely the browser will not render this
part. You may have also to enclose stand alone text in span tag (don't
remember). Finally remember that ASP.NET constructs the control tree and
then renders it. Flush may not be called at the appropriate time.

Just guesses. Describe us the exact situation rather than being general...

Patrice

--
 
all flush does is send to the browser whats pending the response buffer. if
you are not at render in the page processing cycle, none of the controls
output will be in the buffer. also the broswer has no obligation to render
anything until its see </html> or connection close (most broswrs try to
though to seem faster)

-- bruce (sqlwork.com)


| Hi,
|
| I would like to know the pre-requisite conditions for Response.Flush to be
| honoured. Can you override the default semantics of this in any way?
|
| Thanks.
| Shardul
|
|
 
Back
Top