KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The result of [DisplayName("foo")] and [Display(Name="foo")] for @Html.LabelFor(x => x.MyProperty) is same. both generate <label for="MyProperty">foo</label> . what is the advantage of DisplayName?
Tags (comma-separated)
Save Edits
Cancel