Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I want to develop a website containing master page.In that i will have links to Home,About Us,Contact Us.So when i click on Home the content of the home.aspx should display on the contentplaceholder of the master page.And this should same for About Us and Contact Us also.So please help to do this.I want step b y step procedure to solve this.And i hope you people will help me as soon as possible.waiting for your response.And thanks in advance.


regards

Somashekhar
Posted

Hi,

This is the simple thing. Just search in google. how to use master page into asp.net. you will get your answer easily.

Thanks,
Viprat
 
Share this answer
 
Hi,
what you ask for, it's easier than you're thinking. Once you have created a MasterPage with the ContentPlaceHolder, subsequent WebForm are automatically created with the related content that will be replaced in the masterpage.

Watch this detailed guide:
http://www.asp.net/web-forms/tutorials/master-pages/creating-a-site-wide-layout-using-master-pages-cs[^]
 
Share this answer
 
from the menu bar
Website>Add New Item> Master Page(select your language as Visual C#)>Add

now the master page is created. and then add content page from the Website or right click the master page from the solution explorer and then add content page
 
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