Just use the following tag in your aspx page
<LINK runat=server id=cssLink />
then in your codebehind page you can add the required attributes
cssLink.Attributes.Add("href","../Css/MyStyleSheet.css");
cssLink.Attributes.Add("type","text/css");
cssLink.Attributes.Add("rel","stylesheet");
Obviously you'll have to declare the Link tag in your codebehind first ....
protected System.Web.Ui.HtmlControls.HtmlGenericControl cssLink;
Just add in whatever conditional logic you need.
Matt
http://www.3internet.com
"Jurjen de Groot" <jd*********@xs4all.nl> wrote in message
news:Oe**************@TK2MSFTNGP10.phx.gbl...
Is it possible to Dynamically set the StyleSheet to be used on a page,
depending on who is logged on to your web-app ?
<LINK href="../Css/MyStyleSheet.css" type="text/css" rel="stylesheet" >
or <LINK href="../Css/HerStyleSheet.css" type="text/css" rel="stylesheet" >
Kind regards,
Jurjen de Groot
Netherlands.