Free Jobs
Reference


DotNet Questions: ASPNET (128) C#.NET (55) VB.NET (16) AJAX (48) Silver Light (25) WCF (70) WPF (34) WWF (17) .NET 3.5 (29) SQL SERVER (50) Other (9)

Question: What is sequence of Load and Init event for Page MasterPage UserControl ChildUserControl

To get the Posted Questions details daily in your mail Click Here

Share this question on Facebook/Twitter/Orkut Bookmark and Share





User: dhiraj5079 Post Date: 11 Feb 2012 02:03

Introduction:
What is sequence of Load and Init event for Page MasterPage UserControl ChildUserControl



Answer:
Some facts to remeber before answering this question

Master page is First Child Control of Page.

Parent is loaded first but child is initialised(init) first

Init happens before Load



Init event sequence is as below:



ChildUserControl_Load

UserControl_Load

MasterPage_Load

Page_Load

 



Page_Load event sequence is as below:



Page_Load

MasterPage_Load

UserControl_Load

ChildUserControl_Load



After all this Button_Click of ChildUserControl

happens in case there is button clicked inside the child user control.



About Writer:
Hi,I am IT Professional From Mumbai


Writer's Link: http://

Writer's Email:







Comments:




Post Comment





Similar Questions Top QuestionsLatest Questions Other Questions by this Author







www.freejobsreference.com Copyright © 2009-2011 | All Rights Reserved
All content of this website is protected by copyright laws and should not be reproduced in any form or by any means without written permission
(Best viewed in IE 8.0+ or Firefox 3.0+ at resolution of 1024 * 768 or higher)