title: How do I catch an exception raised on my ASCX control (not the code-behind)?
body: <p>I have a large ASPX page with many ASCX controls. If a control throws an exception, it should log the exception and hide only itself. All the other controls should still render.</p>
  
  <p>How do I handle exceptions on individual ASCX's raised from the front-end file (the ASCX and not the code-behind)? for example: a control trying to reference an invalid property using the <code>&lt;%= MethodThatThrowsANullReferenceException() %&gt;</code> syntax.</p>
  
  <p>Obviously using the generic error handler method in Global.asax won't solve the problem. I need to handle exceptions on individual controls.</p>