Asp.net Ajax, Hangs Somtimes

I am using ASP.net Ajax for my project. and using a session to manage state.

in some piece of code, I have some modalpop up that contain UC and do some stuff.

If I use UpdatePanel, sometimes when I open the popup, the progress bar is displayed for a long time and does nothing. if i refresh the page it works correctly. Also if I remove UpdatePanel all methods work fine.

on pages that have more than one popup (or whatever method I run on the refresh panel) I have this problem.

What happened? and how can i fix this?

Thanks Mehdi

+1


a source to share


5 answers


The first thing you need to do is get Fiddler and look for any outstanding requests.



+1


a source


What type of browser are you using? Sometimes Google Chrome suffers from this problem, for example my personal site. Unfortunately, I don't even know what's going on.



0


a source


Refer to Firebug , in console mode you can see what HTTP requests were sent and if they already received a response (and see his response). This is a good place to start debugging anything Ajax-related.

0


a source


I've found that leaving IPv6 enabled when you don't actually have a network that supports it can sometimes introduce such a lag while the system is trying to start IPv6 (and will eventually shut down and then revert to IPv4).

0


a source


for more information, I load the UC dynamiclly on the page in the OnInit method, so in each column the UC is loaded again before loading the static UC, I don't have the same problem as it is now. Also I am using ModalUpdateProgress which was 3rd party and open source for Progressbar

0


a source







All Articles