TemplateColumn - conditional visibility?

  • Thread starter Thread starter The Colonel
  • Start date Start date
T

The Colonel

I'd like to dynamically turn off a whole column if I can. I can use
Visible=False, but would like to do this in code. I tried
<asp:TemplateColumn Visible='<%= IsAllowed("delete") %>' >
....
....
</asp:TemplateColumn>

but with no success.
 
Back
Top