Click here to Skip to main content
12,631,223 members (30,981 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#2.0 C# 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 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161205.3 | Last Updated 7 Sep 2012
Copyright © CodeProject, 1999-2016
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