dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online Membersbaskar
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Resources » Interview Tips » Technical Interviews

What is page lifecycle for master and content page in asp.net


Posted Date:     Category: Technical Interviews    
Author: Member Level: Silver    Points: 10


page life cycle for master and content page in asp.net and page life cycle for master and content page with user control in asp.net This is commonly asked interview questions It will help others...



 


Here I want to describe different scenarios of page events life cycle.

When your page is inherited from master page, HTML, form & body tags are not allowed in content page.

If your page is inherited from master page then the sequence of event will be as

Case 1:


page life cycle for master and content page in asp.net

Content Page PreInit Event

Master Page Init Event

Content Page Init Event

Content Page Load Event

Master Page Load Event

Case 2:

page life cycle for master and content page with user control in asp.net


Content Page PreInit Event

Master:UserControl Init Event

Master Page Init Event

Content Page Init Event

Content Page Load Event

Master Page Load Event

Master:UserControl Load Event

Case 3:

page life cycle for master page, content page and a web user control on master page and content page on both

Content Page PreInit Event

Page:UserControl Init Event

Master:UserControl Init Event

Master Page Init Event

Content Page Init Event

Content Page Load Event

Master Page Load Event

Page:UserControl Load Event

Master:UserControl Load Event



Thanks
Chiranjita Nayak





Did you like this resource? Share it with your friends and show your love!


Responses to "What is page lifecycle for master and content page in asp.net"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Important jQuery Interview questions
    Previous Resource: Hoe to Increase SQL Server stored procedure performance
    Return to Resources
    Post New Resource
    Category: Technical Interviews


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    Asp.net page lifecycle with master page  .  



    Follow us on Twitter: https://twitter.com/dotnetspider

    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.