Dynamic Theme Change For Master Page

Posted by Sksamantaray under C# on 12/30/2011 | Points: 10 | Views : 4229 | Status : [Member] | Replies : 5
I need a code sample which can dynamically change theme using master page.
The master page should have a dropdown/Listbox .
Changing a value should reflect the theme in all your webpages.

Thanks,
Sanjay



Responses

Posted by: Blessyjees on: 1/2/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Check this link http://www.codeproject.com/KB/HTML/ThemeChanging.aspx

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 1/2/2012 [Member] Silver | Points: 25

Up
0
Down
Hi ,
I have gone through it but its not related to master page.
I need a masterpage sollution

Thanks,
Sanjay

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Blessyjees on: 1/2/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

You can try the same thing in the master page.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 1/2/2012 [Member] Silver | Points: 25

Up
0
Down
no in master page it did not work
can you try and attach a sample

Thanks,
Sanjay

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Blessyjees on: 1/2/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Sorry I forgot this we didn't get the preinit for master page. So you should set theme for each page. But you can set session value in master page and set this session value as theme of a page.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response