Part 152 Master page content page user control life cycle in asp net

  • دعنا نشارك هذا :
ترتيب الدرس : 152
المدة : 00:13:22
التحكم :
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.


All ASP .NET Text Articles

All ASP .NET Slides

ASP.NET Playlist

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

In this video, we will understand the order of events execution, when we have a content page with a master page and a user control.

So, in general the initialization events are raised from the innermost control to the outermost one, and all other events are raised from the outermost control to the innermost one.

Please note that the master page is merged into the content page and treated as a control in the content page. Master page is merged into the content page during the initialization stage of page processing.

Two of our valuable youtube channel subscribers were asked the following question in an interview.
Question 1: We have a master page, content page and a user control, with the following events
Master init & master load
Content init & Content load
User control init & User control load

When we run the page containing above things, in what sequence the above events are fired.

Answer: Here is the order
User control init
Master init
Content Init
Content load
Master load
UserControl Load

سيتم تفعيل التعليقات قريبا

Sep 23, 2020 07:32:27