0

I'm getting mad. Site.master page contains the following line within head tag. When the project starts I can see in firebug Net panel that this line is ignored. Even I don't get 404 not Found error;

<link href='<%=Page.ResolveUrl("~/NewStyles/ui-lightness/jquery-ui-1.8.20.custom.css")%>' type="text/css" />

What's wrong with it?

Karadous
  • 1,555
  • 3
  • 26
  • 37

1 Answers1

0

Try using a pound sign and call Page.Header.DataBind

<link href='<%# Page.ResolveUrl("~/NewStyles/ui-lightness/jquery-ui-1.8.20.custom.css")%>>' type="text/css" />
Chris Gessler
  • 22,727
  • 7
  • 57
  • 83