When using a link element, asp does not process <% = CssVersion%>, but interprets it as a literal string
<link href="../../css/style01.css?<%= CssVersion %>" rel="stylesheet" type="text/css">
output above:
<link type="text/css" rel="stylesheet" href="../../css/style01.css?<%= CssVersion >">
But when is it used
<script language="javascript" src="../../js/tiutil_1.0.js?<%= CssVersion %>" type="text/javascript"></script>
Then it will print correctly as
<script type="text/javascript" src="../../js/tiutil_1.0.js?220409" language="javascript"></script>
Any idea why?
thanks
source share