Load different stylesheets at runtime

P

pargat.singh

Hi Everyone:

I have ASP.Net 2.0 application which is being called from a portal
written in ASP.Everything is working fine but i have a question
regarding the stylesheet. We have different stylesheets for different
clients, client_groups etc. In ASP Pages i can do

<link rel="stylesheet" type="text/css" href="images/portal.css"/>
<!-- Default -->
<link rel="stylesheet" type="text/css" href="images/portal<
%=client_group_id%>.css"/> <!-- Client group level -->
<link rel="stylesheet" type="text/css" href="images/portalClient<
%=client_id%>.css"/> <!-- Client level -->

Can someone please tell me how can apply the same thing in .Net 2.0.

Thanks in advance.

Pargat
 
B

bruce barker

the same code will work, but you should probably use themes.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top