I am trying to use the following but I keep getting an error or the href URL is not properly formed.
If I add the attribute : runat = ‘server’ then the page will not show an error, but the href will be exactly as in code below, rather than the first part of href being obtained from web.config. Any idea on how to make this work?
<a href='<%$ AppSettings : MyAttribute%>/xyz/documents/ation_help.htm'
target="_blank">Help</a>
What I found worked for my situation was something very basic I did when developing with classic ASP and JSP. I tested the code with and without a master page, and it worked in both cases. Simply use Response.Write method. The code for this is as given below and it is placed in the child page. This approach will work always and requires no memorization of specialized ASP.Net expressions by the developer. Do I sound correct here OR am I missing something?