HardCode Posted August 20, 2004 Posted August 20, 2004 Strangely enough, searching at MSDN didn't produce much. I was wondering what the difference is between Page_Init and Page_Load, and how they should be properly used. Quote
Moderators Robby Posted August 20, 2004 Moderators Posted August 20, 2004 The sequence of events is ... Init Load PreRender Init: Initialize your controls here, things like runtime JavaScript Load: Data loading etc. PreRender: This like setting the page title at runtime Quote Visit...Bassic Software
*Gurus* Derek Stone Posted August 20, 2004 *Gurus* Posted August 20, 2004 http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemWebUIControlEventsTopic.asp Quote Posting Guidelines
Arch4ngel Posted August 20, 2004 Posted August 20, 2004 It shows the events but it don't show the sequence. Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
*Gurus* Derek Stone Posted August 21, 2004 *Gurus* Posted August 21, 2004 The poster didn't ask for that information, but I'll agree it's important nonetheless: http://www.google.com/search?hl=en&ie=UTF-8&q=asp.net+page+lifecycle Quote Posting Guidelines
Arch4ngel Posted August 23, 2004 Posted August 23, 2004 Ya you were right. It's Robby's fault who mentioned sequence !!!! :p lollll But we must all agree that it's really important if you want things done in the proper order without undoing what you've done in a previous event. Quote "If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown "Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me "A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend. C# TO VB TRANSLATOR
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.