Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Buffer Questions

Status
Not open for further replies.

wbeetge

Programmer
May 2, 2002
57
ZA
How do I use Response.BufferOutput = True and Response.Flush in ASP.NET ?
Where do I place the 'Response.BufferOutput = True' statement ?
 
wb: From the VS.NET help files:

HttpResponse.BufferOutput Property [Visual Basic]See Also
HttpResponse Class | HttpResponse Members | System.Web Namespace

Show All
Gets or sets a value indicating whether to buffer output and send it after the entire page is finished processing.

Public Property BufferOutput As Boolean

Property Value
true if the output to client is buffered, otherwise false. The default is true.

Example
The following example takes action only if the output is buffered.

If Response.BufferOutput = True Then
'...
End If

..so my guess is that since they are "Public" properties that they would be availbble in codebehind, but I'm only guessing here. Just thought I'd post the VS.NET help information to see if that would help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top