What should you do?

You have a SharePoint site collection. The default master page for the site collection displays a navigation bar on the left side of the page.

You create a custom content page.

You need to hide the navigation bar on only the custom content page.

What should you do?

You have a SharePoint site collection. The default master page for the site collection displays a navigation bar on the left side of the page.

You create a custom content page.

You need to hide the navigation bar on only the custom content page.

What should you do?

A.
On the default master page, remove the ContentPlaceHolder control that has the ID PlaceHolderLeftNavBar.

B.
On the default master page, set the Visible attribute to False in the ContentPlaceHolder control that has the ID PlaceHolderLeftNavBar.

C.
Add an empty Content control to the custom content page and set the ContentPlaceHolderID attribute to PlaceHolderLeftNavBar.

D.
Add a Content control to the custom content page, set the ContentPlaceHolderID attribute to PlaceHolderLeftNavBar, and set the Visible attribute to False.

Explanation:
MNEMONIC RULE: “Empty Content control”

Share Pointers: Using a Page Layout to Hide the Left Navigation
http://www.sdtimes.com/SHARE_POINTERS_USING_A_PAGE_LAYOUT_TO_HIDE_THE_LEFT_NAVIGATION/By_Ryan_Keller/33596



Leave a Reply 1

Your email address will not be published. Required fields are marked *


MR

MR

That can’t be the correct answer. If you did that, all pages that are based on that page layout would inherit that change, not “only the custom content page” as it’s worded.