using @Html.PasswordFor

37 Views Asked by At

I want to print the password on the screen with * (asterisk) using @Html.PasswordFor. It comes with a password on the backend side, but it does not show it as a star on the screen. If I use @Html.TextBoxFor I can see the password on the screen. How can I use @Html.PasswordFor to display the password with asterisks on the screen? In the training video I watched, by using @Html.PasswordFor, the password is displayed on the screen with an asterisk.

enter image description here

enter image description here

Thanks

0

There are 0 best solutions below