How to change stylesheet during runtime?

kaisersoze

Centurion
Joined
Aug 27, 2003
Messages
152
Hi all
How to change stylesheet during runtime?
I have a web application with 3 type of users. depening on the use role, i should a .css file. If there a way i can do that in .net. I did this in classic asp it was cake walk but here not yet. any feedback i appreciated.
 
i tried it is not working

on this line the error is:
stylesheet.Attributes.Add("href", "styles.css")


how to declare the stylesheet in code behind.
 
Back
Top