Why do @Html.EditorFor and @Html.PasswordFor create different style boxes in MVC? – Asp.net
I am currently using the @Html.EditorFor HTML helper for the password field. I want to use the @Html.PasswordFor HTML helper instead. I copied the current code and replaced @Html.EditorFor with @Html.PasswordFor. CSHTML This is the code: @Html.EditorFor(x => x.Password, new…