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.
 
Read help on databinding and databinding expressions syntax.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top