Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Can i call pageload event in user control ? When it will be called?

If i include a pageload event in my user control and am using that user control in one of my aspx page, when that pageload event inside the user control will be called? will it be called same time of page load event of aspx page?

I think the order is

1.Content page load
2.Master page load
3.User control page load

Am i correct?
Posted
Updated 12-Jan-15 20:59pm
v2

1 solution

 
Share this answer
 
Comments
Am Gayathri 13-Jan-15 2:53am    
Thanks..:)
Am Gayathri 13-Jan-15 2:59am    
So i think the order is

1.Content page load
2.Master page load
3.User control page load

Am i correct?
Sibasisjena 13-Jan-15 3:06am    
Hi Gayathri,

You said correct.

Thanks,
Sibasis
Am Gayathri 13-Jan-15 4:29am    
Thanks lot

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