How to control the duration of an AJAX request?

 Posted by Ddd on 2/15/2011 | Category: ASP.NET AJAX Interview questions | Views: 3648 | Points: 40
Answer:

It is controlled using the AsyncPostBackTimeout property of the ScriptManager
control.

ex:
<asp:ScriptManager runat="server" id="ss" AsyncPostBackTimeout="50"/>

AsyncPostBackTimeout value is in seconds (so it is 50 seconds) , before asynchronous postback times out if no response is received.
default value is 90 seconds.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response