[Mono-list] Exception Handling with System.Web.UI.TemplateControl.LoadControl

Shawn Vose mono@programmerforrent.com
Thu, 16 Dec 2004 13:39:33 -0500

This is not really a mono specific question.

Does anyone know how to get the exception of a user defined web control 
that has been added to a placeholder at run time using the LoadControl 

I have a try catch statement to see if the control was sucessfully 
loaded; however, when it fails I have it send a message to a developer, 
in the message I want to be able to indicate where the error occured 
with the System.Web.UI.TemplateControl.LoadControl

Kindest Regards,
Shawn Vose