.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

add existing aspx page to the master page

Posted By: Aamrapali Tamgadge     Posted Date: December 20, 2010    Points:2   Category :ASP.Net
Hello, How to add existing aspx page to the master page please Give me the (way)details how should i place my code.

Author: Manas Patnaik             
Posted Date: December 21, 2010     Points: 5   

Right click your Master page in the project at Solution Explorer and Click "Add Content Page".
Your content page will have content place holder and you can add controls over there.

Manas Patnaik
Author: Rajesh             
Posted Date: December 21, 2010     Points: 5   

Suppose your existing page is mypage.aspx and the master page is master1.master

<%@ Page Language="C#" MasterPageFile="~/master1.master" AutoEventWireup="true"
CodeFile="mypage.aspx.cs" Inherits="mypage" Title="Test page"
..................... %>

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend