Take the 2-minute tour ×

I require some advise really, I have 2 different themes and what I want to do is depending on what user account they use to login with they will access a different theme.I've been told implementing a membership provider would help me do this?.

share|improve this question
Do you already have user accounts? –  Tim B James Oct 8 '12 at 11:37
yes using .net membership framework you can put your themes in different folders and assign roles so as to allow/deny to respected users only, go for it –  Prasad Oct 8 '12 at 11:38
Not as of yet I just have 2 themes set up –  user1259076 Oct 8 '12 at 11:39
add comment

1 Answer

up vote 1 down vote accepted

Use this link as a reference to using themes in ASP.NET. But take note to the section that has the following code public void Page_PreInit(), that's the script you're going to need to set the theme dynamically. Your code will look much different because you're going to be leveraging the user that's logged in, but setting it won't change.

share|improve this answer
add comment

Your Answer


