I\'m working on an MVC3 application and am using data attributes for the display name fields on the screen. Below is a representative sample -
[Required]
Just adding to @Darin-Dimitrov answer, it is important to use
@Html.Raw(your.property)
Instead of typical HTML helpers like
@Html.DisplayFor(modelItem=>item.property) -- will not work