Hi all,
I have a page in my application where i need to load two css files dynamically based on the user who is logging in.
How can I load two css files in a single page dynamically?
This is my code to generate the css dynamically:
This is my code:
HtmlLink objCSS = new HtmlLink();
objCSS.Attributes.Add("href", "Includes/css/ADxMenuEmbed.css");
objCSS.Attributes.Add("rel", "stylesheet");
objCSS.Attributes.Add("type", "text/css");
Header.Controls.Add(objCSS);
Can anyone provide some ideas or samples to solve this problem?