Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Bing appsetting to Panel visibility

Reply
Thread Tools

Bing appsetting to Panel visibility

 
 
Gaspar
Guest
Posts: n/a
 
      08-22-2008
I'm binding an app setting to a Panel visibility. I use:
<add key="Panel1_Visible" value="true"/>

and then ....

<aspanel ID="Panel3" runat="server" onload="Panel1_Load"
Visible="<%$ AppSettingsanel1_Visible %>">
</aspanel>


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

Thanks!



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check if appSetting exists in web config file softwareakash ASP .Net 1 07-27-2006 01:47 PM
appsetting read write Thomas ASP .Net Mobile 0 12-17-2005 02:07 PM
Control panel visibility inside datagrid =?Utf-8?B?TWFubnkgQ2hvaGFu?= ASP .Net 1 04-10-2005 09:15 AM
appSetting printing on page Amy ASP .Net 0 10-07-2004 07:11 PM
Web.config reading the appSetting Maziar Aflatoun ASP .Net 1 11-14-2003 06:04 PM



Advertisments