Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

How to diaply master page content in only particular child page
Posted

one way: while creating child page you assign whether it should include to the master page or not.

the other way is: In master page cs file check the page name and hide the master page content..
 
Share this answer
 
You can specify master page details in the required child page. Here portpolio.aspx is child web form.
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Master.Master" CodeBehind="portfolio.aspx.cs" Inherits="XXXX.portfolio" %>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900