Click here to Skip to main content
15,920,704 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Page Invisible Pin
Venkatesh Mookkan4-Jan-07 21:06
Venkatesh Mookkan4-Jan-07 21:06 
GeneralRe: Page Invisible Pin
Amit Kumar G5-Jan-07 4:09
Amit Kumar G5-Jan-07 4:09 
GeneralRe: Page Invisible Pin
Venkatesh Mookkan7-Jan-07 15:51
Venkatesh Mookkan7-Jan-07 15:51 
GeneralRe: Page Invisible Pin
indian1437-Jan-07 18:23
indian1437-Jan-07 18:23 
QuestionProblem with button click event handler Pin
Tina P4-Jan-07 18:11
Tina P4-Jan-07 18:11 
AnswerRe: Problem with button click event handler Pin
Christian Graus4-Jan-07 18:30
protectorChristian Graus4-Jan-07 18:30 
GeneralRe: Problem with button click event handler Pin
Tina P5-Jan-07 5:38
Tina P5-Jan-07 5:38 
GeneralRe: Problem with button click event handler Pin
Christian Graus5-Jan-07 19:18
protectorChristian Graus5-Jan-07 19:18 
Sure

Basically in .NET 2.0, the methods hook themselves up, any prior version, you need to hook it up.  Your load event is being hooked up in code in a region, just add a hook to prerender.  In 2.0, just put a

protected void Page_PreRender(object sender, EventArgs ea)

method in your code.  The critical thing is, this is called AFTER the events, and is the place to put stuff that changes how the site looks, such as setting colors, or filling lists with data.  I've not seen your code, so I am guessing, but I do know that your page load will be called before your events, so any changes to the site that happen in the event, unless they are done directly to controls, may not do what you hope.  That is, if your event sets a private variable that stores the color, and your page load uses that variable to color some controls, the variable gets changed AFTER it is used.  Using that variable in the prerender, uses it AFTER the event.

Again, I am guessing.  I could give better help if I saw your code.



Christian Graus - C++ MVP

'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

GeneralRe: Problem with button click event handler Pin
Tina P6-Jan-07 13:46
Tina P6-Jan-07 13:46 
GeneralRe: Problem with button click event handler Pin
Christian Graus6-Jan-07 14:24
protectorChristian Graus6-Jan-07 14:24 
GeneralRe: Problem with button click event handler Pin
Tina P6-Jan-07 15:27
Tina P6-Jan-07 15:27 
GeneralRe: Problem with button click event handler Pin
Christian Graus6-Jan-07 15:38
protectorChristian Graus6-Jan-07 15:38 
GeneralRe: Problem with button click event handler Pin
Tina P6-Jan-07 16:59
Tina P6-Jan-07 16:59 
GeneralRe: Problem with button click event handler Pin
Christian Graus6-Jan-07 23:23
protectorChristian Graus6-Jan-07 23:23 
GeneralRe: Problem with button click event handler Pin
Tina P7-Jan-07 8:16
Tina P7-Jan-07 8:16 
GeneralRe: Problem with button click event handler Pin
Christian Graus7-Jan-07 9:13
protectorChristian Graus7-Jan-07 9:13 
GeneralRe: Problem with button click event handler Pin
Tina P7-Jan-07 10:32
Tina P7-Jan-07 10:32 
QuestionRe: Problem with button click event handler Pin
Tina P7-Jan-07 11:03
Tina P7-Jan-07 11:03 
Questionproblem dropdownlist Pin
mohd imran abdul aziz4-Jan-07 18:04
mohd imran abdul aziz4-Jan-07 18:04 
AnswerRe: problem dropdownlist Pin
Jay_se4-Jan-07 19:06
Jay_se4-Jan-07 19:06 
AnswerRe: problem dropdownlist Pin
Venkatesh Mookkan4-Jan-07 19:30
Venkatesh Mookkan4-Jan-07 19:30 
QuestionSearch keyword in set of documents stored using Sharepoint Pin
Member 36858894-Jan-07 17:07
Member 36858894-Jan-07 17:07 
QuestionProblem in setting up auto signout when closing the application browser window Pin
Renukapadhamanaban4-Jan-07 14:40
Renukapadhamanaban4-Jan-07 14:40 
AnswerRe: Problem in setting up auto signout when closing the application browser window Pin
Not Active4-Jan-07 15:50
mentorNot Active4-Jan-07 15:50 
GeneralRe: Problem in setting up auto signout when closing the application browser window Pin
Venkatesh Mookkan4-Jan-07 16:43
Venkatesh Mookkan4-Jan-07 16:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.