Click here to Skip to main content
15,882,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one user control on my page and also this page contains MasterPage.

Can anybody tell me the sequence of events which fire upon requesting this page?
Posted
Updated 2-Dec-10 21:54pm
v2
Comments
Dalek Dave 3-Dec-10 3:54am    
Minor Edit for Grammar and Readability.

1 solution

You must be knowing the page life cycle events.

Init and Unload events starts firing from the innermost control.While other events get fired from Page to control then innercontrol and so on.

So in your case,

for init and unload, first your master and control event will be fired the page one will be fired.

for rest of events, first page and then control and master page
 
Share this answer
 
Comments
Dalek Dave 3-Dec-10 3:55am    
Good Answer.
Brij 3-Dec-10 4:02am    
Thanks Dalek

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900