Debugging ASP.NET Pages that use the AJAX UpdatePanel

I ran into an issue earlier today where I had a web control inside of an UpdatePanel that was causing some errors. So, I began looking for ways to circumvent removing the UpdatePanel and readding it at a later time. I posted a message out on the ASPAdvice.com lists and received 2 great responses. One was from Mike Campbell who pointed me to the "official" debugging page on AJAX (http://ajax.asp.net/docs/overview/ASPNETAJAXDebuggingAndTracingOverview.aspx). The other was from Wally McClure who pointed out that since the issue was server side, I had two options. First, I could have attached VS.NET to the IIS process on the remote machine (although the machine would have needed Visual Studio Remote Debugging enabled). Or, I could modify the script manager on my site. I opted for the second option. I created a Page_Init event on my master page which is where the script manager is located. I then set the SupportsPartialRendering property to False. This allowed me to see the server side error messages.

Thanks again to both of these guys!

Published Wednesday, April 11, 2007 12:03 PM by Jason N. Gaylord

Comments

# re: Debugging ASP.NET Pages that use the AJAX UpdatePanel

Wednesday, April 11, 2007 6:07 PM by cyril DURAND

the third option is to look at the windows event viewer where all the .net error is logged thanks to health monitoring.

This is very great where the error is only on the production website...

# re: Debugging ASP.NET Pages that use the AJAX UpdatePanel

Sunday, April 15, 2007 1:41 AM by dudegizmo

Hi,

I would like to introduce you to a new technology called http://www.visualwebgui.com which provides a unique way to create AJAX applications by providing full WinForms like development including design time support.  It is a fully AJAX oriented framework based on .NET programming with no JavaScrit and full support for debugging, reflection and any thing else that is supported in the .NET framework.

You can find here an introduction to Visual WebGui:

http://www.visualwebgui.com/Default.aspx?tabid=314

I will be happy to answer you questions if you have any (support{at}visualwebgui{dot}com)...

Guy

Leave a Comment

(required) 
(required) 
(optional)
(required)