title: ASP.NET MVC Ajax Form OnFailure never called!
body: <p>The Ajax request is as follows:</p>
  
  
  
  <p>In the controller action method I tried to add ModelState Error as well as throw an exception but response is never calling OnFailure. It always calls the OnSuccess regardless of response. May be I missing somthing here. </p>
  
  <p>The question: When is it going to call the OnFailure js method? Any samples will be greatly appreciated. </p>
  
  <p>Thanks</p>