Saturday, March 24, 2012

ajax timeout.

What is the default timeout? how do i set default in web.config?

And also how do i get exception in the endrequest?

I am using ajax 1.0.

thanks for all the help.

Hi

Please check this link for answer:Configuring ASP.NET AJAX

Thanks


I could not find any information about setting timeout.. can you please help.


http://ajax.asp.net/docs/mref/P_System_Web_UI_ScriptManager_AsyncPostBackTimeout.aspx


Thanks that helps to some extent ... i would like to set that value in Web.Config is it possible?


maybe something like this:

Web.config
<appSettings>
<add key="AsyncPostBackTimeout" value="900"/>
</appSettings
.aspx
<asp:ScriptManager ID="scrManager" AsyncPostBackTimeout="<%$ AppSettings: AsyncPostBackTimeout %>" runat="server" /
it's not a spacial ajax feature :) but it must work

No comments:

Post a Comment