How To Tell If Ajax is working on your site with ASP.NET’s ajax UpdatePanel and other Controls

So, I suppose you should just be able to see the fact that Ajax is working by the lack of page flashing.  That may be true on a normal page on a slow connection, but if you are testing locally, it may not be so obvious.  You can certainly crank up your debugging tools like firebug or Fiddler, or you can do the cheap trip about I’m about to explain.

Simply, add a sleep statement to your page_load event (Thread.Sleep(3000);) and run your page.  If you are using IE7 like I am, on the post back (for a full page), you will see the windows icon spinning in the tab control.  If you see that, you are getting a full page post back. If not, chances are you are not.

Hope this helps!

About Peter Kellner

Peter is a software professional specializing in mobile and web technologies. He has also been a Microsoft MVP for the past 7 years. To read more about Peter Kellner and his experience click here. For information about how Peter Kellner might be able to help you with your project click here.

Follow me:


Comments

  1. Thanks for your helpful article. Now I know how to check if Ajax is wirking on my site.

Your Comments

*

Protected with IP Blacklist CloudIP Blacklist Cloud

Follow

Get every new post delivered to your Inbox

Join other followers: