Click here to Skip to main content
14,640,725 members
Rate this:
Please Sign up or sign in to vote.
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
Rate this:
Please Sign up or sign in to vote.

Solution 2

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
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

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[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 4

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
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100