This one has be stumped. I’m doing some work on a legacy ASP.NET WebForms app and in the html head element I’m getting some stylesheets being included before the closing tag and I can’t find the code that’s doing it.
I need my new stylesheets to appear after these ones, so need to find the code that’s inserting them and change to InsertAt(0) so they appear at the opening of the element.
I’ve searched for the stylesheet names, I’ve looked in the master page code, I’ve looked in the global.asax.cs and done wide-ranging searches for Controls.Insert, etc, but no joy. Am I going mad? Some how these stylesheets are being programatically added.
Does anyone have any tips for where to look?
Are you using themes? If so any css file in a theme directory is added.