Skip to content

Replies

0
Bunty
Bunty answered on Jun 3, 2009 3:48 PM

Chris,

Aaron is correct right now there is no intrinsic way to hide the columns from server side or using any property.

Here is an alternate way to do so using CSS on Column level:

Create a Css :

.hideMyColumn
{
display:none;
}

and use this Css at column level like this

this.WebDataGrid1.Columns[2].CssClass = "hideMyColumn";

This will hide the column.

Bunty 🙂