Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
SQL Server

Master pages in 2008

Author: Zunnair

In this simple article you will know advantages of master pages in 2008 projects

Master pages in 2.0

In 2.0, master pages were introduced to facilitate developers. They were used to centralize the common functionality of a website pages at one place and made code handling easier. As using master pages developers can place header, footer, navigation and any content which have to be shown in multiple pages of a website at one place. If any change required in the layout of a website which is present in its multiple pages, developer has to edit master page only, in this case, instead of changing all pages.

Master pages in 3.5

In 3.5, nested master pages concept was introduced. Master pages provided a single place for a common layout of the website. Nested Master pages will be used in the case, where few controls in the layout of the website will be used for all pages but need a change for some specific criteria, for example if a website for company has a header, footer and navigation controls handled by the master pages, but each department of the company has some different header, it will be done by using nested master pages functionality.

Therefore, if few pages contain few different controls, still nothing is required to repeat for the same layout code. Same layout code for the website will be still in one place, that is master page and change required code of master page will be implemented in nested master pages. This functionality of 2008 enhances the benefits of the master pages.

Article Comments
hi this side vikas your advise is very good ....thanks you

Posted on 1/11/2010 12:31:10 AM by vikas

thanks for the info..

Posted on 1/12/2010 5:11:30 AM by nandu

detail of master page some exmple sir

Posted on 5/11/2010 5:14:40 PM by raju

Can u tell me the step by step process of developing master pages and how to linkup it with the other we pages.

Posted on 7/10/2010 2:36:57 AM by Jyothsna

It's a very good Explanation from ur side.
I got clear all basic details of Master Pages.
Thank a lot..
Would you give some example to create Master page (Nested Master Page)..
Thank you..

Posted on 7/13/2010 9:32:29 AM by Chetan Pande,Nagpur

very good

Posted on 8/25/2010 2:34:38 AM by irfan

Add Article Comment:
Name :
Email Address :
Comments :
<< Working with FormView control using C# in 2.0

Disclaimer - Privacy
© 2002-2017