Steps to reference master page properties from content page - Master Pages
Q. What are the basic steps to reference master page properties from a content page?
- Published on 27 Jul 15a.
- Create a property in the master page code-behind file. - Reference the master page property from the content page using the syntax Master.<Property_Name>
b.
- Create a property in the master page code-behind file. - Add the @ MasterType declaration to the .aspx content page.
- Reference the master page property from the content page using the syntax Master.<Property_Name>
c.
- Create a property in the master page code-behind file. - Reference the master page property from the content page using the syntax Master.<Property_Name>
d. None of the above
ANSWER:
- Create a property in the master page code-behind file. - Add the @ MasterType declaration to the .aspx content page.
- Reference the master page property from the content page using the syntax Master.<Property_Name>