C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...









Events in ASP.NET Master and Content Pages


Posted Date: 12 May 2008    Resource Type: Articles    Category: .NET Framework

Posted By: Neeraj Saluja       Member Level: Gold
Rating:     Points: 15



Applies to : ASP.NET 2.0, Master Pages and Content Pages

Master Page is wonderful concept introduced with .NET 2.0. But also it also adds to the complexity when it comes to dealing with events. In a normal scenario, we have master page with some client side and server side controls and a content page with its own set of client side and server side controls. Well, lets us focus only on Server side functiomality for the time being and let us see the sequence of Events in our scenario.

To limit the scope of events we are going to see only the VERY important events like Init, Load and PreRender, so that it gets handy for developers. The sequence of events are given below :

1. Master page controls Init event.
2. Content controls Init event.
3. Master page Init event.
4. Content page Init event.

5. Content page Load event.
6. Master page Load event.
7. Content controls Load event.

8. Content page PreRender event.
9. Master page PreRender event.
10. Master page controls PreRender event.
11. Content controls PreRender event.


There are various other events which are not mentioned here for keeping it simple, but I strongly advice you to go through them if you are in design phase and you are considering master pages for your application




Responses

Author: Sebastian    13 Jun 2008Member Level: Gold   Points : 1
This is very informative. Thanks for sharing the details.


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Difference between assembly and namespace
Previous Resource: Determining How ASP.NET Web Pages were invoked.
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use