In asp.net MVC 3 there is a new attribute that allows us to pass additional Meta Data to our views e.g.
[Required]
[AdditionalMetadata("Tooltip", "The title of the item")]
public string Title { get; set; }
The question is, how do I actually make use of this information in my view? I thought that perhaps it would render out the data as html 5 data attributes but this is not the case.
A simple example would be much appreciated.
According to the documentation:
So let’s make use of it in the view: