Syntax error with asp.net link tag

AIJason

New Member
I am trying to load stylesheet dynamically from folder, but currently, it isn't working:\[code\]<head id="Head1" runat="server"> <link type="text/css" rel="styleSheet" href="http://www.domain.com/users/'<%= UserNameVar%>'/styleSheet.css" /></head>\[/code\]\[code\]UserNameVar\[/code\] contains string data.Edit: This is the output when i upload it to server. but it is not loading\[quote\]\[code\]<link type="text/css" rel="styleSheet" href="http://www.domain.com/users/'<%= UserNameVar%>'/styleSheet.css" /></head>\[/code\]\[/quote\]
 
Top