title: return to previous view and show error where ModelState.IsValid is false
body: <p>I have one problem, in asp.net mvc, I create one view for create user with this url (rout)</p>
  
  <p>mydomain.com/create/users/pos/voot</p>
  
  <p>I create this url with rout and redirect this url to insert action.
  now i want when ModelState not IsValid return back to the view and show error message, I want in back , contetnt of textbox not clean and display the data was entered.
  How  can do it?
  I do this scenario like this code</p>
  
  <pre><code>return Redirect(Request.UrlReferrer.ToString());
  </code></pre>
  
  <p>and in view </p>
  
  <pre><code>    foreach (ModelState modelState in ViewData.ModelState.Values)
      {
          foreach (ModelError error in modelState.Errors)
          {
              Response.Write(error.ErrorMessage);
          }
      }
  </code></pre>
  
  <p>but my textbox content clean and error does not display.</p>