ASP.NET
  Home arrow ASP.NET arrow Creating a Nested Master Page
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Creating a Nested Master Page
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2006-12-06

    Table of Contents:
  • Creating a Nested Master Page
  • Nested Master Project
  • Embedded master pages
  • What can go wrong?

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Creating a Nested Master Page


    (Page 1 of 4 )

    Master pages are a very useful new feature of ASP.NET 2.0. If you want to create web pages that have a consistent look and feel, you can do so by using nested master pages. This article explains how to go about it.

    Introduction

    In a professionally created web site, web pages have a consistent look and feel displaying the graphics, controls, navigational features, and so on. Serving visually appealing rich content with consistent functionality whether it is for navigation or other usability features is a must for a satisfactory user experience. This has gone through an evolution of its own as mentioned in the previous tutorial on Master Pages, a new feature you find in ASP.NET 2.0.

    The present tutorial builds on the previous one, but for reader experience it can be read independently. However, a reading of the previous tutorial would be very helpful. This tutorial takes two master pages and plugs them into a master; you may call it the top or the parent. Now each of these plugged-in master pages may show pages from their own module or compartment, sharing the parent for a higher level look and feel. These three may very well be appropriate for a corporation and two of its subsidiaries.

    Before we look at the nested master pages, it may be instructive to look at a single master shown schematically in the next picture (taken from the previous tutorial). The content page and the master together are displayed when the content page is browsed. The content page is bare of HTML and other namespace references. The displayed page is therefore a merged page as far as displayed content goes.

    More ASP.NET Articles
    More By Jayaram Krishnaswamy


       · For an organization with many functional units nested master pages can provide a...
     

    ASP.NET ARTICLES

    - Disadvantages of the ASP.NET MVC Framework
    - Advantages of the ASP.NET MVC Approach
    - ASP.NET Web Forms Weaknesses
    - ASP.NET Web Forms Meets ASP.NET MVC
    - Source Code for Saving and Retrieving Data w...
    - Using GridView to Save and Retrieve Data wit...
    - Handling Dynamic Images in ASP.NET 3.5 AJAX ...
    - Retrieving Data with AJAX and the GridView C...
    - Playing with Images in ASP.NET 3.5 AJAX Appl...
    - Saving and Retrieving Data with AJAX
    - Enhancing PHP Via the ASP.NET AJAX Framework...
    - Enhancing PHP Programming with the ASP.NET A...
    - Classes and ASP.NET AJAX
    - Using ASP.NET AJAX
    - Building a Simple Storefront with LINQ





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT