Dynamically adding a CSS file from an ASP.NET Server Control

Posted by Maxim on Stack Overflow See other posts from Stack Overflow or by Maxim
Published on 2010-04-14T20:15:58Z Indexed on 2010/04/14 20:23 UTC
Read the original article Hit count: 228

Filed under:
|
|

I have a custom control and I want to dynamically insert a link to a stylesheet.

Might not be the best solution of the year but it needs to be done. Any idea how to do it?

Everytime I try, Page.Header is null.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about css