Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is a master page?

i use asp.net as native language, i didn't use master pages so i wonder what is it ?

user-image
Question added by Zaid Rabab'a , Technical Team Lead , ESKADENIA Software
Date Posted: 2013/01/07
marwa khalaf
by marwa khalaf , .Net Developer , Sands National Academy

A master page is a template for one or more Web Forms.
The master page defines how the page will be laid out when presented to the user, with placeholders for content.
The MasterPageFile Page Directive in a content page’s header is one way to assign a master page.
The content pages rely solely on content and leave layout to the master page.
ASP.NET merges the content with the master page layout when the content page is requested by a user.

Mohamed Essam Hussien
by Mohamed Essam Hussien , Senior Full Stack engineer , Affinidi

the master page is a feature that enables you to define common structure and interface markup elements for your Web site, including headers, footers, style definitions, or navigation bars.
The master page can be shared by any of the pages in your Web site, called the Content Page, and removes need to duplicate code for shared elements within your Web site.

Deleted user
by Deleted user

According to webopedia master page is : In Web site development with ASP.NET, the master page is a feature that enables you to define common structure and interface markup elements for your Web site, including headers, footers, style definitions, or navigation bars.
The master page can be shared by any of the pages in your Web site, called the Content Page, and removes need to duplicate code for shared elements within your Web site.

Master Pages A master page is an ASP.NET file with the extension .master (for example, MySite.master) with a predefined layout that can include static text, HTML elements, and server controls.
The master page is identified by a special @ Master directive that replaces the @ Page directive that is used for ordinary .aspx pages.
The directive looks like the following.

Mostafa Shamout
by Mostafa Shamout , Web Designer , Freelance

Master Page is the contanior for all pages indside it , if you wan't to set satic layout you can use master page

Panneer selvam xavier
by Panneer selvam xavier , Supply Chain Analyst / Trainer , Infonet

Master pages allow you to create a consistent layout for the pages in your application.
A single master page defines the look and feel and standard behavior that you want for all of the pages (or a group of pages) in your application.
You can then create individual content pages that contain the content you want to display.
When users request the content pages, they merge with the master page to produce output that combines the layout of the master page with the content from the content page.

Abdulelah Alarifi
by Abdulelah Alarifi , Software Engineer , King Abdulaziz City for Science and Technology

Master page is a container or frame that hold the content of the related pages.
it helps to achieve the consistency of the website.

Ibrahem Shebli
by Ibrahem Shebli , Web Developer , Computer Architecture

Master Page is the contanior for all pages indside it

More Questions Like This