Atlas update panel request timeout RRS feed

  • Question

  • User-1877038116 posted

    I have annoying problem. Page has EnablePartialRendering="true" and several Update panels. Page works fine if Request is short, bit some time it can take up to 5 minutes to finish respond, and in this case, page does not return anything.  I guess it has to be some TimeOut async request reaches. I tried to set <pages asyncTimeout="600"> - it does not help. Would appreciate any advise.

    Tuesday, October 31, 2006 11:35 AM

All replies

  • User287763314 posted


    use the scriptmanager's AsyncPostBackTimeOut property to define the timeout associated with a partial request. 

    Tuesday, October 31, 2006 6:39 PM
  • User-396192383 posted

    You may also consider manually calling the update panel .Update() - if its a long request and on the browser side its taking awhile - you could do this:


    <Update Panel>

    <Panel id="pnlForm" >

    insert control here or whatever 

    <Panel if="pnlStatus">

    Display message will take a while - do not navigate from page... 

     write a short javscript method that when you know it will be a long request... will toggle on the postback the second panel...I suggest using the style='display:none' instead of the .net visible = true or false...


    Then in code behind do your work and at the end  reissue the css style select to trigger them back to original status...and then call the updatepanel.Update()...


    That may work as a solution for something of that time period...Since we are talking asynch - and you have other update panels - this should theoretically allow other stuff to happen - and still handle your first request.. I don't know for sure if that will work

     I have noted that even setting the asynch timeout - with IE in particular it will not process a direct postback after x period of time....


    But - I do think a better solution - is to figure out why it takes 5 minutes to perform something for a web client.  If its a report generation - then the best thing to do is write kinda a job queue that stores the results - and has a status flag it updates... then on the web client poll the job status and when available trigger the update for the update panel...







    Tuesday, October 31, 2006 7:44 PM
  • User-1877038116 posted


    I don't see AsyncPostBackTimeOut among ScriptManager properties.


    Wednesday, November 1, 2006 10:20 AM
  • User-396192383 posted

    If you are using Atlas - I don't think that property existed - its a property of the new Beta however....



    Wednesday, November 1, 2006 1:19 PM