Return to Snippet

Revision: 22489
at January 13, 2010 09:43 by cardiffblogger

Initial Code
<script type="text/javascript">
AjaxControlToolkit.ToolkitScriptManager ajax = (AjaxControlToolkit.ToolkitScriptManager)this.Page.Master.FindControl("ScriptManager1");
if(ajax != null) ajax.AsyncPostBackTimeout = 600;

Initial URL

Initial Description
If you wish to set an ASyncPostBackTrigger in ScriptManager for AJAX.NET, using ASyncPostBackTrigger="xxx" causes Firefox, Chrome, Safari, etc. to timeout on partial page postback, using this javascript to set the ASyncPostBackTrigger (instead of the tag on the ScriptManager) will allow this to work.

Initial Title
JavaScript to set ASyncPostBackTrigger in .NET

Initial Tags
ajax, javascript, Net, aspnet

Initial Language