Labels

Monday, January 18, 2010

Page UserControl Master Event Ordering

Hi,

 

Here is the end of confusion in event ordering.

 

 

 

Page Only

Page_Init
Page_Load
Page_PreRender
Top of Form

Bottom of Form

Page_Render
Page_UnLoad

 

Page With User Control

 

 

                                                       

UC_Init
Page_Init


Page_Load
UC_Load


Page_PreRender
UC_PreRender
Top of Form

UC_Render

Bottom of Form

Page_Render


UC_UnLoad
Page_UnLoad

 

Page With Two User Control

 

 

                                                       

UC_Init
UC_Init
Page_Init


Page_Load
UC_Load
UC_Load


Page_PreRender
UC_PreRender
UC_PreRender

Top of Form

UC_Render
UC_Render

Bottom of Form

Page_Render


UC_UnLoad
UC_UnLoad
Page_UnLoad

 

Page With Master Page

Master_Init
Page_Init


Page_Load
Master_Load


Page_PreRender
Master_PreRender
Top of Form

Bottom of Form

Master_Render
Page_Render


Master_UnLoad
Page_UnLoad

 

Page With User Control & Master Page

UC_Init
Master_Init
Page_Init


Page_Load
Master_Load
UC_Load


Page_PreRender
Master_PreRender
UC_PreRender
Top of Form

UC_Render

Bottom of Form

Master_Render
Page_Render


UC_UnLoad
Master_UnLoad
Page_UnLoad

 

 

Regards,

Arun



Disclaimer: The information contained in this message may be privileged, confidential, and protected from disclosure. If you are not the intended recipient, or an employee, or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

No comments:

Post a Comment