View page does not reload when modelstate fails <p>In my MVC application, I am using jquery ajax to post data to action. When model state is valid then jquery ajax shows perfect result. But when model state is not valid, It does not return anything and does not reload my view page in mvc.</p> <p>My Action method code</p> <pre><code> [HttpPost] public ActionResult AllLandLord(User_Master usermaster, CityDate citydate) { List&lt;User_Master&gt; allLandLord = new List&lt;User_Master&gt;(); if (ModelState.IsValid) { allLandLord = agreementnewBAL.AllLandLordUsers(); return PartialView("LoadLandLord", allLandLord); } else { int successid= 1; return Json(new { id = successid}); } } } </code></pre> <p>In my View, Jquery code as follws</p> <pre><code> var usermodel = { US_FirstName:$("#txtFirstName").val(), US_LastName:$("#txtLastName").val(), US_Gender:$(".userGender").filter(':checked').val(), US_Age:$("#txtAge").val(), US_Email:$("#txtEmail").val(), US_MobileNo:$("#txtMobile").val(), US_PAN:$("#txtPan").val(), US_AadharNo:$("#txtAadhar").val(), US_PermanentAddress:$("#txtPermanentAddress").val() }; var citydatemodel = { CM_AgreementSignDate:$("#SignDate").val(), PR_City: $("#selectCity").val() }; $.ajax({ url:'@Url.Action("AllLandLord")', contentType: 'application/json; charset=utf-8', data: JSON.stringify({usermaster: usermodel, citydate: citydatemodel}), type:'POST', UpdateTargetId: "dvLandLord3", success:function(data){ if(data.id== 1) { location.reload(); } else { $("#dvLandLord3").html(data); } }, error:function(){ alert('something went wrong!'); } }); </code></pre> <p>I checked it using debugger, But it doesn't work for me. So, how can I reload my view page when model state valid is false?</p>