I have a column defined something like this:
<rada:GridTemplateColumn >
<HeaderTemplate>headertext</HeaderTemplate>
<ItemTemplate>
...
</ItemTemplate>
</rada:GridTemplateColumn>
Is there a way to dynamically hide or show this column in the code behind depending on when I need it?
I know I can hide a
GridBoundColumn
by calling this:rg.Columns.FindByDataField(
"Columnname").Visible = false;
but haven't figured out GridTemplateColumn yet.