I have compiled ASP.NET dynamic page with editable aspx pages. I would like to some links to be generated upon changing some static variable What i did is edit:
web.config as follows:
<appSettings>
<add key="currentEnvironment" value="dev-"/>
</appSettings>
and then edited aspx page as follows
<a href="http://<asp:Literal runat ="server" Text='<%# ConfigurationSettings.AppSettings["currentEnvironment"] %>'></asp:Literal>www.mysite.com/web/index.html">Home</a>
But there is nothing appened when i try and run the .aspx page. Please help
asp:controls need anID?