I have a favicon that I have to pass from server side. I did it like this:
<link rel="shortcut icon" type="image/ico" href="<%= favIcon%>" />
On the server side I have added a public string named favIcon
and then
favIcon = "Generic_Icon_2015.ico";
If I look at the Web Debugger page on chrome i see the result like this
<link rel="shortcut icon" type="image/ico" href="<% = favIcon%>" />
so he wasn't able to recognize the <
symbol. I also get
http://localhost/AL07/%3C%%20=%20favIcon%%3E 400 (Bad Request)
I noticed that if I remove runat="server"
from <head>
then it works fine..
What's happening?