tags:

views:

15

answers:

2

I want to change the theme in an asp.net website. but i have to give the normal effect of switching themes?

+1  A: 

You can do this by switching style sheets - you can do this using javascript - there is a script around that uses cookies to do this so the theme is persistent - other wise you can probably do it in asp using sessions.

matpol
A: 

My best advice is to store the theme name in user's client variable.

Here is Coldfusion style

<cfset client.myTheme = "forest">
<link rel="stylesheet" href="theme/<cfoutput>#client.myTheme#</cfoutput>.css" media="screen" type="text/css"/>
ppshein