Page_load and function

  • Thread starter Thread starter Johan
  • Start date Start date
J

Johan

Hi,
I wonder if a function that I've made and calls with a button is executed
before or after the page_load?
/Johan
 
The order of events are:

Page and server controls are created
Page_Init is called
ViewState and Post data are reloaded into the server controls
Page_Load
server side validation
All Change events and then any click event fires
Page_PreRender
Render
Page_Unload

Knowledge of the lifecycle on the server is essential to building ASP.NET
applications.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top