Is there any way to apply an attribute to a model file in ASP.NET Dynamic Data to hide the column?
For instance, I can currently set the display name of a column lik
A much, much easier method: If you want to only show certain columns in the List page, but all or others in the Details, etc. pages, see How do I hide a column only on the list page in ASP.NET Dynamic Data?
Simply set AutoGenerateColumns="false" in the GridView control, then define exactly the columns you want:
...