Asp.net handle errors on certain pages differently
<p>I have an Application_Error handler in my Global.asax file.  However, I load many pages using an XHR request and would rather these "sub pages" return javascript or a real 500 code for my main app to process, rather than an error page.</p>

<p>Is it possible to handle errors on certain pages in a different way?  Can a master page handle its own errors in a page extending it without bubbling it up to Global.asax?</p>

<p>Thanks!</p>
