Friday, January 11, 2008

How do I dynamically add CSS file for ASP.NET ASPX page?

Normally, in our ASP.NET applications we use CSS in Master Pages. Then it will automatically inherit to child pages. But there is an option in ASP.NET to put page specific CSS file and it will swap the master page CSS inheritance.

To implement this we programmatically access the HTML link element under header tag in Page_Init.

FAQ00011

Labels: ,

0 Comments:

Post a Comment

<< Home