Descrie about response.buffer and repsonse.flush ?
Answers were Sorted based on User's Feedback
Answer / radha
Respence.Buffer method can be used to specify the current
output should be buffered or not. when the buffering is set
true, the page will not send output to the client until the
scripts on the page has been processing or flush method is
call.
Response.flush method is used to send buffered output
immediatly. when the response.buffer is set true.
| Is This Answer Correct ? | 12 Yes | 2 No |
Respose.Buffer method is used to hold the output
at server side until response.flush/ respose.end
is called.
Server doesn't send response to the browser until
all scripts are executed at server side. It uses
reponser.buffer for that.
E.g:
<%response.Buffer=true%>
<html>
<body>
<p>I write some text, but I will control when
the text will be sent to the browser.</p>
<p>The text is not sent yet. I hold it back!</p>
<p>OK, let it go!</p>
<%response.Flush%>
</body>
</html>
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the asp.net security controls?
How do you do validations. Whether client-side or server-side validations are better ?
2 Answers InfoLinks, Microsoft,
Differentiate an ADO.NET Dataset and an ADO Recordset with its functionality?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
Why do we use Option Explicit?
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Difference between asp and asp.net ?
4 Answers Accenture, BirlaSoft, TCS,
What do you mean by serialize?
In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected
What is mvc in asp.net interview question? : Asp.Net MVC
How long do session variables last?
Is string a value type or a reference type?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)