Master page- Features,Properties

Q.  What is/are true about master page?
- Published on 28 Jul 15

a. Master page contains a <%@ Master %> directive instead of the normal <%@ Page %> directive.
b. ContentPlaceHolder control can be added only on master page.
c. You can add as many ContentPlaceHolders to a Master Page as you need.
d. All of the above.

ANSWER: All of the above.
 

    Discussion

  • Nihal   -Posted on 01 Oct 15
    The following answers are true about master pages.
    • Master page contains a <%@ Master %> directive instead of the normal <%@ Page %> directive.
    • ContentPlaceHolder control can be added only on master page.
    • You can add as many ContentPlaceHolders to a Master Page as you need.
    ContentPlaceHolder control defines the region for content page that is associated with master 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.)