TItled - Use of model Name for column Titled

Jul 31, 2014 at 2:29 AM
I am using EF-code first and was hoping to use the model to generate the column title instead of typing each of them since my application is bilingual and I am using resources files.

Such as
@Html.DisplayNameFor(model => model.User.FirstName)

Unfortunately I am not able to make it work

Any Idea
Aug 5, 2014 at 12:39 PM
Use
 Html.Grid(Model).AutoGenerateColumns()