Author: MagSafe | Posted on: 8/30/2010 5:38:51 AM | Views : 297

Hi there,
I'm trying to reference a string from the web.config file from a ASCX user control, but I get the error message: [b]Compiler Error Message: BC30203: Identifier expected.
My code in the user control file is as follows:
<div id="header">
<h1><%= Server.HtmlEncode(Convert.ToString(ConfigurationSettings.AppSettings["Web_Title"])) %></h1>
</div>
Do I need to import any namespaces? Hopefully someone can help!
Thanks

...

Go to the complete details ...