Hello NG,
i want to change the timeout of the warp Panel, currently it is 20 second's. I already found a post and a possible solution for the problem, which is not working for me.
I'm using Masterpages and call the following routine in my Page_Load Routine
Private Sub StartupScript() Dim strScript As String = "function WebAsyncRefreshPanel1_InitializePanel(oPanel){" & _ "ig_shared.getCBManager()._timeLimit = 60000;}" ClientScript.RegisterStartupScript(Me.GetType, "MyScript", strScript, True) End Sub
Unfortunately this is not changing anything, the timeout still occurs after 20 seconds.
I'm using Version 8.1.20081.1000.
Thanks's in advance for your help.
Stefan
Hi Stefan,
The statement
ig_shared.getCBManager()._timeLimit = 60000;
is correct and it should change timeout. If that call has no effect, then it is probably called too early. Try to debug for exceptions and check for objects. For example, break your codes in few statements with "alert"s or "debugger"s.
alert('ig_shared:' + (typeof ig_shared));var man = ig_shared.getCBManager();if(!man) alert('no callbackmanager found');else man._timeLimit = 60000;alert('should work');
If you will get exceptions or other misbehavior, then try to move those codes to different location in page (after <form>).
You also may type directly into aspx:<body onload="ig_shared.getCBManager()._timeLimit = 60000; alert('ok');">