HI WELCOME TO KANSIRIS

Convert textbox type to password in asp.net mvc

Leave a Comment
When using a strong-typed view and bootstrap, use the following code to make sure the password field is properly styled:
@Html.PasswordFor(model => model.Password, new { @class = "form-control" })

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.