...

View Full Version : .NET equivalent of response.buffer



fractalvibes
01-15-2004, 05:22 PM
Does anyone know of the ASP.NET equivalent of
response.buffer
and
response.flush?

I have a huge page - 2300+ lines of code-behind so far with
probably at least 50 different sql statements - would be nice
if I could send sections of the page via response.flush on to the browser as they finish processing.

Splitting into multiple,smaller pages is NOT an option.

Any clues welcomed.

thanks,

fv

A1ien51
01-15-2004, 06:01 PM
I use Response.Flush() with .NET

fractalvibes
01-15-2004, 06:26 PM
Would that go in the .aspx page
or in the /aspx.vb code-behind page?

thanks,

fv

A1ien51
01-15-2004, 08:28 PM
aspx.vb were you want it to happen

I normally would do

Response.Write("The var: " & myVar)
Response.Flush()

fractalvibes
01-15-2004, 08:33 PM
Everything is done (or other procs/functions) from the Page_load event. I added response.buffer=true near the first of the page load proc and added numberous response.flush es. Does not seem to make any difference. Does asp.net do everything in the page_load sub before it attempts to render the page?

thanks,

fv



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum