@Html.ValidationSummary() does not work within Ajax.BeginForm
问题 Is there any problem using @Html.ValidationSummary() inside an Ajax.BeginForm form? I have the following scenario and I can't get validation for required fields. The form is just posted and no error is thrown either. This is the View: @using (Ajax.BeginForm("Register", "Account", new AjaxOptions { HttpMethod = "POST", OnSuccess = "closeDialog('RegistroUsuario')" })) { @Html.ValidationSummary() <fieldset> <legend>Cadastro novo Usuário</legend> <table id="changePassword"> <tr> <td class=