What is ASP.NET Master Page & Its Advantages?


Please briefly explain why you feel this question should be reported .


About the actual role or advantages of the master page in Asp.Net.

in progress 0
.NET jasminpatel01 1 year 1 Answer 335 views 0

Answer ( 1 )

  1. Apeksha_R

    Please briefly explain why you feel this answer should be reported .


    ASP.NET 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.

    Advantages of Master Pages:

    Master pages provide functionality that developers have traditionally created by copying existing code, text, and control elements repeatedly; using framesets; using include files for common elements; using ASP.NET user controls; and so on. Advantages of master pages include the following:

    They allow you to centralize the common functionality of your pages so that you can make updates in just one place.

    They make it easy to create one set of controls and code and apply the results to a set of pages. For example, you can use controls on the master page to create a menu that applies to all pages.

    They give you fine-grained control over the layout of the final page by allowing you to control how the placeholder controls are rendered.

    They provide an object model that allows you to customize the master page from individual content pages.

Leave an answer


Captcha Click on image to update the captcha .

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>