I have a model:
[DataType(DataType.EmailAddress)] [DisplayFormat(ConvertEmptyStringToNull = true)] [Display(Prompt = \"Email Address\")] public string Email { ge
Use TextBoxFor:
@Html.TextBoxFor(m => m.Email, new { @class = "form-control", @placeholder = Html.DisplayNameFor(m => m.Email) })