Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Themes

Posted on 2007-11-28
10
Medium Priority
?
758 Views
Last Modified: 2012-08-13
This is not an exam or homework

You want users to be able to change the Theme of your application dynamically. In order to achieve this you need to be able to change the Theme in code rather than declaring it in the Page Directive. At what stage of the page life cycle do you have to assign the theme?

1. in the PreInit event
 
2. in the Init event
 
3. in the Load event
 
4. in the PreLoad event
0
Comment
Question by:cybernation989
  • 4
  • 4
  • 2
10 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 20364236
a quick google should reveil that information:
http://www.codeproject.com/useritems/ThemeChanging.asp
0
 
LVL 7

Expert Comment

by:Infinite_Recursion
ID: 20364695
I am reporting this
0
 

Author Comment

by:cybernation989
ID: 20366887
Ah thanks angellll... I also found the samething at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=9532&lngWId=4

"
Usually this is achieved by changing theme property at Page_Preinit Event.
"
......
"
Problem was solved just by using session varibale and refreshing page at page load event by  server.transfer method
"

So answer is 3

PS Infinite Recursion,
Not sure why your reporting this... if you check back on my questions I have answered most of them myself and have given the points to angellll for being there to point me in the right direction.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 7

Expert Comment

by:Infinite_Recursion
ID: 20371993
I am talking abt the question itself
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 20372219
@Infinite_Recursion:
I had already reported the question and the others of this questioner myself to the moderators, also being zone advisor myself. As the questioner has indeed done some research, especially on the other questions, so to learn something by them, the help provided is perfectly acceptable as guidance in such cases.

anyhow, you are right about wanting to report this type of questions, so whenever you meet something like this again, you are welcome to report!

angelIII, zone advisor
0
 
LVL 7

Expert Comment

by:Infinite_Recursion
ID: 20372299
I am not sure if you have noticed, but the same kind of multiple choice questions is being asked by the same person.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 20372328
Yes, I had noticed, I have reported all of that. I got the feedback from Netminder, a site admin, that it was handled properly by me.
if you want, I can ask him to confirm you
angelIII, zone advisor
0
 

Author Comment

by:cybernation989
ID: 20379558
On a side note there are at least 35 questions by mathieu_cupryk that has done the same type of thing... but I dont see anyone saying anything about his posts. Is it because hes been around longer? Well anyway if I have any questions I will post my throughts in the question post instead of later on down the thread.
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 20380017
>at least 35 questions by mathieu_cupryk that has done the same type of thing...
>but I dont see anyone saying anything about his posts.
there has been quite some actions about his dozens of questions, you can be assured, and some of his questions have been deleted because of this.
he was less able to understand the system of EE, did not want to read up (like you did), and did not close the questions voluntary, and when he did, it was with low grades...

you don't see his member and admin comments, I must assume, which would make it clearer to you that he has been "managed", even several times because of those questions.

angelIII, zone advisor
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Screencast - Getting to Know the Pipeline
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question