Master Pages - Properties,Advantages,Disadvantages

Q.  What is/are the advantages of master page?
- Published on 16 Jun 15

a. It helps to display common content in multiple pages.
b. They allow you to centralize the common functionality of your pages so that you can make updates in just one place.
c. It helps to create a common page layout.
d. All of the above.

ANSWER: All of the above.
 

    Discussion

  • FIROZ ANSARI   -Posted on 16 Nov 15
    The Master Page Directive Identifies a page as a master page and define attributes used by the ASP.NET page parser and compiler.Master page directive can be include in a master page file(.master file) only
    <%@ master Language="C#" AutoEventWirup="MasterPage.master.cs" Inherits="MasterPage"%>
    =>Master page is a new feature Introduce in ASP.NET 2.0
    =>Master Page is used to provides standred layout,and sharecontaint "Such as header,Footer,and menus which are common to all containt page(.aspx)"
  • Digvijay   -Posted on 22 Oct 15
    Master pages works as template that can be refer by content pages in ASP.NET
    Following are the advantages of master page
    • It helps to display common content in multiple pages.
    • They allow you to centralize the common functionality of your pages so that you can make updates in just one place.
    • It helps to create a common page layout.
    • At run time master page and content page are merged and render as single page.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)