nerdexam
Microsoft

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

Developing SharePoint Sites

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)
  • A
    5% (1)
  • B
    16% (3)
  • C
    74% (14)
  • D
    5% (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

#page layouts#EditModePanel#field controls#publishing

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice