I am trying to use the <%$ AppSettings: .. %> shortcut in an asp.net user control.
I am able to use the syntax fine when binding a property to an appsetting, however I want to use an appsetting to hold a page id. for exmaple:
<a href="default.aspx?page=<%$ AppSettings:TestPageID %>">Test link</a>
This method does not work, so my question is, can the appsetting shortcut be used like this to insert a literal, or can anybody suggest a way I can achieve this.
Many thanks,
Adam