473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Changing a theme, just for the current user, on-the-fly??

RCS
I would've thought this would've been asked before, but I could find an
answer anywhere.

I have two Themes, I'd like to have a dropdown (which I can populate from
the directory structure) - but how can I change the theme for a user? I have
the default theme set in the web.config file in configuration/system.web,
then <pages theme="DarkBlue"/>

Any ideas?
Nov 20 '05 #1
2 1092
Handle the PreInit event in your page:

http://staff.develop.com/ballen/blog...c-13818fd75a56

-Brock
DevelopMentor
http://staff.develop.com/ballen
I would've thought this would've been asked before, but I could find
an answer anywhere.

I have two Themes, I'd like to have a dropdown (which I can populate
from the directory structure) - but how can I change the theme for a
user? I have the default theme set in the web.config file in
configuration/system.web, then <pages theme="DarkBlue"/>

Any ideas?

Nov 20 '05 #2
RCS
Perfect - thanks very much!! :-)

"Brock Allen" <ba****@NOSPAMdevelop.com> wrote in message
news:b8**************************@msnews.microsoft .com...
Handle the PreInit event in your page:

http://staff.develop.com/ballen/blog...c-13818fd75a56

-Brock
DevelopMentor
http://staff.develop.com/ballen
I would've thought this would've been asked before, but I could find
an answer anywhere.

I have two Themes, I'd like to have a dropdown (which I can populate
from the directory structure) - but how can I change the theme for a
user? I have the default theme set in the web.config file in
configuration/system.web, then <pages theme="DarkBlue"/>

Any ideas?


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: zemp xp | last post by:
how can i change my machine theme(DeskTop) by dot net code?
2
by: Just Me | last post by:
I'd like to create my own theme but do not know how to do that. Can someone direct me to a document or sample I could study?
1
by: Patrick.O.Ige | last post by:
Any ideas how to have users select different color for a website in ASP.NET? Any artticles would be appreciated!
0
by: markarichman | last post by:
Is there any way to assign .resx resources on a per-theme basis? That is, when I am using theme ~/App_Themes/Foo use Foo.resx, and when using theme ~/App_Themes/Bar use Bar.resx. Thanks, Mark
4
by: ryan.mclean | last post by:
Hi all, I am new to 2.0 and themes. i would like to make all of my web projects have the same themes when I create a new project. Is this possible? Thanks and have a great day, Ryan
0
by: kiran | last post by:
Can anybody tell me how to apply a custom Theme or new theme ( not XP style Theme ) to WinForms application developed in C#.
1
by: Alan T | last post by:
Any function calls can retieve Windows theme or Outlook theme ?
3
by: ad | last post by:
We can set Theme in a web page. Could we set theme in MasterPage?
0
by: =?Utf-8?B?SGFyZHkgV2FuZw==?= | last post by:
Hi all, I am building a web site with theme support, under each theme's folder there are some images. Some of my images need to be skinned, I know I can build a skin file with line like ...
1
Ali Rizwan
by: Ali Rizwan | last post by:
Hi, How can i change xp theme, wallpaper and other settings like sound, screensaver etc. Thanks.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.