I would like to hide a column in the radgridview after I set the datasource property to a DataTable. But the problem is, that the column count is always 0. I'm using the AutoGenerateColumns = true to create all my columns.
1 Answer, 1 is accepted
0
Accepted
Stefan
Telerik team
answered on 04 Oct 2012, 06:41 AM
Hello,
Thank you for writing.
You can use the DataBindingComplete event of RadGridView to manipulate with the columns. This way you can be sure that they will exist when you attempt to access them.