Nested Master Pages in asp.net ?
Posted Date Unknown Remya Raj 1 Comment

what is nested master pages & advantages of using nested master in asp.net

See All Responses Below...
Author
Message Rating
Posted on: 04/06/2012

1 master page can refer more than 1 master page called nested master page.Each child master page contain their own componentized content placeholders that are mapped to content placeholders on the parent master page.

 For example,  Different web site content partners can define their own child master pages that reference the child master and that is define in partner's content.So the main master page can use as archive of child masters. 

The main master page like this:

<%@ Master Language="C#" MasterPageFile="~/Base.master" AutoEventWireup="false" CodeFile="Derive.master.cs" Inherits="Derive" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>



Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Comments
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

TekTipsDownload
GateExam
Academic Projects
TekTipsExperts



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud