1.

In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

Answer»

This is the order of Page EVENTS

  • Page_Init
  • Page_LoadViewState
  • Page_LoadPostData
  • Page_Load
  • Page_RaisePostDataChanged
  • Page_RaisePostBackEvent
  • Page_PreRender
  • Page_SaveViewState
  • Page_Render
  • Page_Dispose
  • Page_Error(this is caused whenever there is an exception at the page LEVEL).

Out of all the Page_Load is the one where your code GETS LOADED and your magic should be written. page_init occurs only once, i.e. when the page is initially created.

As a DEVELOPER you need to know these, becuase your development activity is coding for these only.

This is the order of Page events

Out of all the Page_Load is the one where your code gets loaded and your magic should be written. page_init occurs only once, i.e. when the page is initially created.

As a developer you need to know these, becuase your development activity is coding for these only.



Discussion

No Comment Found