70-573 · Question #97
You create a custom page layout that has a field control named Field1. You need to ensure that Field1 is only visible when users modify the contents of the page. Which parent control should you use…
The correct answer is C. EditModePanel. MNEMONIC RULE: "visible when modify = EditModePanel" Provides a container that shows or hides its child controls based on the mode of the page. EditModePanel Class us/library/microsoft.sharepoint.publishing.webcontrols.editmodepanel.aspx
Question
You create a custom page layout that has a field control named Field1. You need to ensure that Field1 is only visible when users modify the contents of the page. Which parent control should you use for Field1?
Options
- APublishingContext
- BPageLayoutValidator
- CEditModePanel
- DValidatorAggregator
How the community answered
(19 responses)- A5% (1)
- B16% (3)
- C74% (14)
- D5% (1)
Explanation
MNEMONIC RULE: "visible when modify = EditModePanel" Provides a container that shows or hides its child controls based on the mode of the page. EditModePanel Class us/library/microsoft.sharepoint.publishing.webcontrols.editmodepanel.aspx
Topics
Community Discussion
No community discussion yet for this question.