HOW TO CONTROL, HOW LONG AN AJAX REQUEST MAY LAST?

Varun Agrawal

Total Post:159

Points:795
Posted by  Varun Agrawal
AJAX 
 1686  View(s)
Ratings:
Rate this:
  1. Varun Agrawal

    Post:159

    Points:795
    How to control, how long an Ajax request may last?

    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"/>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!