Page_Init vs Page_Load

HardCode

Freshman
Joined
Apr 2, 2004
Messages
49
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.
 
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
 
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.
 
Back
Top