title: Is the PRG pattern incompatible with AJAX form posts?
body: <p>I am using the post-redirect-get pattern for all my forms, but now need to add AJAX functionality to improve the user experience. My initial thoughts are that the two do not mix.</p>
  
  <p>In the PRG scenario, I would have my post action that would then either redirect back to my get action if there is a validation error, or redirect to my success get action otherwise.</p>
  
  <p>In the AJAX scenario, I need to return a partial view either way. More typically, I would check to see if it is an AJAX request first. If so, return the partial view, else return the view.</p>
  
  <p>Any thoughts or suggestions?</p>