Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Timeout
posted

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

  • 24497
    posted

    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');">