Bing appsetting to Panel visibility

G

Gaspar

I'm binding an app setting to a Panel visibility. I use:
<add key="Panel1_Visible" value="true"/>

and then ....

<asp:panel ID="Panel3" runat="server" onload="Panel1_Load"
Visible="<%$ AppSettings:panel1_Visible %>">
</asp:panel>


Should I replace "true" with System.Boolean.TrueString?
Why this doesn't work: <add key="Panel1_Visible"
value="System.Boolean.TrueString"/>?

Thanks!
 

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

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top