Master pages in ASP.NET 2.0 applications are the pages that enable you to provide a consistent look to your web application. In ASP.NET 1.1, to achieve a consistent look across a website, you need to use User controls and place them on each page. The master pages eliminate the need to place the header, footer, or other important sections on each page of your website repeatedly.
The master pages are programmable and contain methods, properties, and controls that can be made visible in all other content pages. However, these elements need to be declared with the Public scope in the master pages. You can build your content pages, which have a unique content of their own and then merge the master page with it to provide the page a consistent look.
A single website can have more than one master page. To use master page in your content page, you need to reference the master page that you want to use. This article discusses the way that you can use to reference a master page in your con ...
Go to the complete details ...