Master pages and child pages -Page Excecution.

Lots of people are in confusion whether the master pages are loaded first or content page(child page is loaded first.I want to make it more clear.

Following is page execution structure of the master page and child pages.

First the controls of the master page will instantiated and then control of the child page is instantiated.

Then the first the page_load event of the child page is executed and then page_load of event is executed.

Comments

  1. Congrats bro., ur blog has PR 4...

    Keep Going Good Work

    Dotnetguts
    http://dotnetguts.blogspot.com

    ReplyDelete

Post a Comment

Your feedback is very important to me. Please provide your feedback via putting comments.

Popular posts from this blog

How to create Rest API(Web API) with ASP.NET Core 1.0

Creating PDF with ASP.Net MVC and RazorPDF

Solution: gulp is not recognized as internal or external command- Visual Studio