Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi...
i want to write a cms (content managment system)..for finall project in college
but..i have a problem...
i want in my program , user can select a themes that i prepared them in drop down list
and select your favorite theme...then after click on the button
how i send him or her selection to another page and use it on the page..
for example(css file and skin file)
Posted

there are many way:-
1.You use to query string for apply themes.
2.You find control of previous page dropdownlist control and selected value apply.
dropdownlist dropdown1=(dropdownlist)PreviousPage.FindControl("dropdown1");

3.Best way you use session. when user change the dropdownlist value is store in session variable. now you retrieve session value in any page and apply the themes.

4.you store the user themes in database. and when user login then retrieve value form database and apply in each page.//this use for when you write a program for authentication base program.

I hope my suggestion is helpful for you.
 
Share this answer
 
Comments
BlackEagle2020 3-Aug-11 13:53pm    
thanks for your help..
Hi,
Don't bother about your problem. it's very easy
Since all the themes and skins present under your application level only means everything will be under the website only.

so if you'll send the theme name to other webpage your problem will be solved.
For this you can use any of the state management technique in asp.net

for assistance review answer 1.

Thank You.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900