Click here to Skip to main content
11,428,876 members (62,882 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#2.0 ASP.NET Ajax
I am facing a strange issue. I have 7 -8 update panels in a asp.net page. Sometimes on click of a button in one of update panel throws 'PageRequestTimeOut' Exception as soon as we click on button and nothing happens after that.

Unable to trace the issue. Can anyone plz help what can be the reason.
Posted 6-Sep-12 21:55pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

in your Master page where you have you Script Manager

Try below in PAGE Load

ScriptManager _scriptMan = ScriptManager.GetCurrent(this);      _scriptMan.AsyncPostBackTimeout = 36000; 

and check if problem still presist
  Permalink  
Comments
df g fdh djdjdg at 7-Sep-12 3:57am
   
Following are already part of my solution:

1) Config:
httpRuntime maxRequestLength="1024000" executionTimeout="999999"

2) Main Page:
Set the AsyncPostBackTimeout="360000"

Do I still need to add your suggested changes?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 7 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100