Problem with title section link tags
I used this (with head runat)
<link href="https://<%= AppSettingBase.AppSetting("CdnDomain")%>/cdn/css/iebutton.css" rel="stylesheet" type="text/css" />
it displayed correctly
<link href="https://cdn.mydomain.com/cdn/Content/css/iebutton.css" rel="stylesheet" type="text/css" />
now i use (with head runat)
<link href="https://<%= UIAppSetting.CdnDomain%>/cdn/css/iebutton.css" rel="stylesheet" type="text/css" />
it does the wrong thing, but without a head runat it works fine
<link href="https://<%= UIAppSetting.CdnDomain%>/cdn/css/iebutton.css" rel="stylesheet" type="text/css" />
What is the difference between the two, how can I solve it?
Edit
UIAppSettingis a class and CdnDomainis a static property, and I added a namespace in web.config