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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top