ASP.NET 2.0 makes dynamic themes really easy. Asp.net themes enables the user to change the colors,layout of the page dynamically. Following are steps which give help to create asp.net themes.
1: create the app_themes which contain themes folder like black and white. these folder have different style sheet class.
2: create theme manager class which contain getTheme method to get themes from app_theme folder.
3: you can create a home page where you can bind themes with dropdownlist or radio button list the give user a interface where user can change themes.
4: create a base class in which we will specifies a default themes for a web page.
5. Inherit the base class in all web page of your project in which you want to implement these themes.
following are link that give source code of asp.net themes.
http://www.codeproject.com/useritems/dynamicThemes.asp
Friday, November 2, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment