I'm attempting to use master pages and I cannot link to a CSS who's path is dinamically generated and put in an inline variable.
In the master page's code file there is
In the master page in the <head> section I have:
Yet when I generate the page and check the source I see:
I hope that is not a bug in ASP.NET![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
In the master page's code file there is
Code:
public string sCSSPath = GetCommonCSSPath();
In the master page in the <head> section I have:
Code:
<link href="<%sCSSPath%>" type="text/css" rel="stylesheet"/>
Yet when I generate the page and check the source I see:
Code:
<link href="<%sCSSPath%>" type="text/css" rel="stylesheet"
I hope that is not a bug in ASP.NET
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)
![[mad] [mad] [mad]](/data/assets/smilies/mad.gif)