By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

TemplateColumn - conditional visibility?

P: n/a
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.

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Read help on databinding and databinding expressions syntax.

Eliyahu

"The Colonel" <co**********@budweiser.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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.

Nov 19 '05 #2

P: n/a
Nope - no help there.

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.