| Author: Shameer 08 Nov 2009 | Member Level: Silver | Rating:  Points: 2 |
If you're using Master Pages in ASP.NET and trying to resolve <script> or <style> references in the page head, you may have got this error. When you add the runat=”server” attribute to the <head> tag, the runtime treats it as an HtmlHead control. The HtmlHead control has the ability to parse child <link> controls contained withing it, so that when a content page is rendered, the URL in the href attribute points to the correct file.
|