Home > DeveloperSection > Interviews > How to control, how long an Ajax request may last?

Posted on    March-29-2011 9:54 AM

 AJAX AJAX 
Ratings:
 1 Answer(s)
  1426  View(s)
Rate this:

Varun Agrawal
Varun Agrawal

Total Post:159

Points:795
Posted on    March-29-2011 12:00 AM

Use the ScriptManager's AsyncPostBackTimeout Property.
For example, if you want to debug a web page but you get an error that the page request has timed out, you may set
<asp:ScriptManager id="ScriptManager1" runat="server" AsyncPostBackTimeout="8000"/>

Don't want to miss updates? Please click the below button!

Follow MindStick