@using (Ajax.BeginForm("ManageDealerInventory_ResetDealerPwd", "UserInventory", new AjaxOptions { HttpMethod = "POST", OnSuccess = "onSuccessResetPwd" }, new { id = "resetPasswordForm" }))
{
@Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.")
}
| @Html.LabelFor(model => model.ResetNewPassword) | @Html.HiddenFor(model => model.UserName, new { id = "hiddenUserName" }) @Html.PasswordFor(model => model.ResetNewPassword, new { @class = "k-textbox" }) @Html.ValidationMessageFor(model => model.ResetNewPassword) |
| @Html.LabelFor(model => model.ResetConfirmPassword) | @Html.PasswordFor(model => model.ResetConfirmPassword, new { @class = "k-textbox" }) @Html.ValidationMessageFor(model => model.ResetConfirmPassword) |
@using (Ajax.BeginForm("ManageDealerInventory_UnlockUser", "UserInventory", new AjaxOptions { HttpMethod = "POST", OnSuccess = "onSuccessUnlockUser" }, new { id = "UnlockUserForm" }))
{
@Html.ValidationSummary(true, "Unlock User change was unsuccessful. Please correct the errors and try again.")
@Html.HiddenFor(prop => prop.ObjectId);
}
| @Html.LabelFor(model => model.ResetNewPassword) | @Html.HiddenFor(model => model.UserName, new { id = "hiddenUserNameUnlock" }) |