title: ASP.NET AJAX WebForms custom error handling question
body: <p>I've made a web application that has the following architecture: Every form is a UserControl, there is just one actual page (Default.aspx), and a parameter in the URL specifies which UserControl to load. The UserControl is loaded in an UpdatePanel so that it can enjoy full AJAX-iness.</p>
  
  <p>There is also an elaborate message displaying mechanism that I use. Eventually messages end up in one designated area on top of the Default.ASPX with some nice formatting 'n stuff.</p>
  
  <p>Now, I would also like to capture any unhandled exceptions that originate in the UserControl and display it in this area with all the bells-and-whistles that I've made for messages.</p>
  
  <p>How can I do this? The Page.Error and ScriptManager.AsyncPostBackError somehow don't work for me...</p>