So i have something like: static Config class, which is used everywhere in the project, having a bool property let's say Property. So I want to find a way to set this property in the aspx markup.
<asp:Column ..... Visible='<%: Config.Property %>' >
does not work. I also tried:
'<%# Config.Property %>'
'<%$ Config.Property %>'
'<%= Config.Property %>'
'<% Config.Property %>'
and all of the above without the "'". Is there any way to work it out? I don't want to set it in the code behind and i have reasons not to.