page life cycle of master page with content page

No.of Views766
Bookmarked0 times
Downloads 
Votes1
By  Kirti.M.Darji   On  10 Jul 2011 23:07:11
Tag : ADO.NET , Miscellaneous
Generally one question is faced by very developer what is asp.net page life cycle every body know very well like sequence of asp.net page event like.....
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Generally one question is faced by very developer what is asp.net page life cycle every body know very well like sequence of asp.net page event like

  1. page_init
  2. Page_load
  3. Page_render
  4. Page_unload

it is fine for standalone pages but if a page have master page then what the page life cycle? confuse!!!

Below is the sequence of event of page events which contain master page  with chronological order.

  1. Master page (Page_Init) event
  2. Content page (Page_Init) event
  3. Content page (Page_Load) event
  4. Master page (Page_Load) event
  5. Content page (Page_Prerender) event
  6. Master page (Page_Prerender) event
  7. Content page (Page_Prerendercomplete) event
  8. Master page (Page_Prerendercomplete) event

Remember one thing  page life cycle of page contain master page all event fire like first master page event then content page event but in case of page load event first content page load event fire then master page event fire. so that’s all from my side

I think It may help you, Happy coding, stay turned for more…

Thank You

Kirti M.Darji

 

 
Sign Up to vote for this article
 
About Author
 
Kirti.M.Darji
Occupation-Software Engineer
Company-Maven-Infosoft Pvt.Ltd
Member Type-Expert
Location-Not Provided
Joined date-03 Jun 2009
Home Page-
Blog Page-http://kirtimdarji.blogspot.com/
I am Kirti M. Darji Senior Software Developer Having 3.5 Years Experience In Microsoft .Net(c#) Technologies.
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top