Inline code within HEAD section of ASP Web Form
- by geekrutherford
Today I needed to include inline code within the HEAD section of an Web Form in order to dynamically include stylesheets based on the theme set for the application.
Below is an example:
<link href="../../Resources/Themes/<% = Page.Theme %>Grid.Default.css" rel="stylesheet" type="text/css">
Upon…