Problem/Challenge:
For my page theme swap project, I created four different color scheme layouts for the websites overall look and feel, so when the theme button was clicked the corresponding color theme would switch throughout the website. However in order to switch the theme on button click the page required a postback to fire the Page_PreInit method which assigned the selected theme in the session. I wanted the postback to switch the theme but stay on the current page the theme was switched from.
For my page theme swap project, I created four different color scheme layouts for the websites overall look and feel, so when the theme button was clicked the corresponding color theme would switch throughout the website. However in order to switch the theme on button click the page required a postback to fire the Page_PreInit method which assigned the selected theme in the session. I wanted the postback to switch the theme but stay on the current page the theme was switched from.