
I had a tough time finding this online so I thought I would post it on CodeProject.com.
I wanted to be able to dynamically set a link to a CSS file. For example, for users to be able to personalize their site, change the look and feel.
Just add a runat attribute to your traditional link tag. ID attribute has to be present, and tag has to be properly closed (not like HTML).
|