I have a model:
[DataType(DataType.EmailAddress)] [DisplayFormat(ConvertEmptyStringToNull = true)] [Display(Prompt = \"Email Address\")] public string Email { ge
Check out this answers to this question, which has been answered aleady (a few times).
@Html.EditorFor uses templates, and so the approach to this problem is using a customised template.
@Html.EditorFor