After I included runat="server"
in the head tag and added a CSS href with the value of <%= WebAppInstance %>
, I noticed that the <%= WebAppInstance %>
was not being converted to client-side code. To provide clarity on my question, please refer to the code below.
C# .Net code:
<head id="Head1" runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<title>Testing</title>
<link rel="stylesheet" href="<%= WebAppInstance %>/bucket/css/bootstrap.min.css" />
</head>
Here is the HTML code as shown in the image:
Html code with highlighted problem Can you help explain what may be causing this issue? Thank you!