title: jQuery mobile and mvc4, how to redirect to a custom error page replacing "Error Loading Page" message
body: <p>I am trying to set up a custom error page (Error.vbhtml in Views/Shared folder) when an unhandled exception occurs. All I see is the "Error Loading Page" message on a yellow background.</p>
  
  <p>These are what I've done so far to achieve the result:</p>
  
  <ol>
  <li>I've set the customErrors mode ="On" in web.config</li>
  <li>Checked that filters.Add(New HandleErrorAttribute()) is there in FilterConfig.vb</li>
  <li>Threw an exception and using firebug's Net tab for the page where the error occurs, can see that the HTML tab has the custom messages in Error.vbhtml.</li>
  </ol>
  
  <p>I am assuming that since jQuery mobile depends on ajax for page navigation, the error page is not getting displayed for some reason. How to display that page? Any ideas anyone?</p>
  
  <p>Thanks for any help.</p>