Can I use DataAnnotations attributes with the MVC3 WebGrid extension?
I use some DataAnnotations EF4 attributes, such as [ScaffoldColumn (true)] and [Display (Description = "Name", Prompt = "Enter name", ShortName = "Name")]. But this does not affect WebGrid.
So, how can I use DataAnnotations attributes using WebGrid, if possible?
UPDATE OK, Darin Dimitrov answers my question. And couse is +1. But MVCContrib is much better for work than WebGrid. It is my choice.
Ffire source share