Referencing master page from content page - ASP.NET Introduction

Q.  Which of the following is true when referencing master page from content page?
- Published on 19 Oct 15

a. Content pages can reference private indexer in the master page.
b. Content pages can reference private Properties in the master page.
c. Contentpages can reference public Properties in the master page.
d. Content pages can reference private Methods in the master page.

ANSWER: Contentpages can reference public Properties in the master page.
 
You can access the Properties and Controls of Master Pages from content pages. You can set value inside the master page and then make it available to content pages as a property of the 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.)