What are the series of events that take place or the life cycle of page that takes place when a Master page and content page are involved ?

Showing Answers 1 - 18 of 18 Answers

1) Page request - determines if it needs to be raised or compiled
2) start  - if it is a new request or post back
3) Page initialization -
4)Load - if postback,control properties are loaded with values of postback
5)validation - individual controls are validated
6) Postback - event handling
7)render  - saves the view state data before rendering
8) unload

  Was this answer useful?  Yes

In simple layman words:

1. ASP.NET fetches the page.
2. ASP.NET determines if the content page references a master page.
3. If so, ASP.NET fetches the reference page.
4. ASP.NET merges the contents in the contentplaceholders on the master page.
5. ASP.NET renders results to the browser.

Yousuf

  • Sep 14th, 2011
 

Page Life cycle
1) Page Request
2) start
3) Initialization
4) Load
5) Post back Event handling
6) Rendering
7) Unload

Event life cycle
1) Preinit
2) Init
3) InitComplete
4) Preload
5) Load
6) LoadComplete
7) Prerender
8) PreRenderComplete
9) SaveStateComplete
10) Render
11) Unload

For Details visit: http://msdn.microsoft.com/en-us/library/ms178472.aspx

  Was this answer useful?  Yes

Rajesh

  • Sep 15th, 2011
 

SILVER-U
S --> START
I --> INITIALIZE
L --> LOAD
V --> VALIDATE
E --> EVENT HANDLING
R --> RENDERING
U --> UNLOAD

  Was this answer useful?  Yes

rupinder

  • Apr 23rd, 2013
 

A master page and themes are also applied to the page if applicable during Preinitialization event and order of events occuring in page life cycle are same as in page life cycle without master page.
1) Preinit
2) Init
3) InitComplete
4) Preload
5) Load
6) LoadComplete
7) Prerender
8) PreRenderComplete
9) SaveStateComplete
10) Render
11) Unload

  Was this answer useful?  Yes

vaishali zindal

  • Aug 1st, 2013
 

1) Page Request
2) Start
3) Page Initialization
4) Load
5) Validation
6) Post back event handling
7) Render
8) Unload

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions