Here Mudassar Ahmed Khan has explained with an example, how to create Password TextBox using Html.TextBoxFor in ASP.Net MVC Razor.
Html.TextBoxFor cannot create Password TextBox and hence Html.PasswordFor Helper function needs to be used.
This article will also explain how to perform Client Side validation for Password TextBox using Model class and Data Annotation attributes in ASP.Net MVC Razor.
↧