Reputation: 1635
I'm using ASP.NET Dynamic Data.
Upvotes: 0
Views: 382
Reputation: 9911
Use Metadata tag DisplayAttribute in System.ComponentModel.DataAnnotations. Here is an example to hide the Category column in a table and do not create a filter:
[Display(Name="Categories", AutoGenerateField=false, AutoGenerateFilter=false)]
public object Cats { get; set; }
Upvotes: 1
Reputation: 9030
It's just a google away. Also, stack is your friend. Here's a video tutorial that may help you: How to Remove Columns From Your DynamicData Data Grids. Here's a stack post that may also help you: How to hide filtered column with dynamic data site?
Upvotes: 0