favicon not rendering properly from ASP.Net master page

alexstan

New Member
\[code\]<link href="http://stackoverflow.com/questions/15661701/<%=this.faviconURL %>" type="image/x-icon" rel="icon" />\[/code\]It will literally print out '\[code\]<link href="http://stackoverflow.com/questions/15661701/%3C%25=this.faviconURL%20%25%3E" type="image/x-icon" rel="icon" />\[/code\]It's as if the runtime is taking the link tag literally and refusing to do any sort of substitution. Can someone explain why this is happening? I would really prefer not using web controls for this.
 
Back
Top