nerdexam
Microsoft

70-573 · Question #133

You create a user control named MySearch.ascx. You plan to change the native search control in SharePoint to MySearch.ascx. You need to provide the site administrator with the ability to change the…

The correct answer is A. Override the search delegate control by using a Feature. MNEMONIC RULE: "change the native search control = Override the search delegate" Customizing the search box using a feature

Developing SharePoint Sites

Question

You create a user control named MySearch.ascx. You plan to change the native search control in SharePoint to MySearch.ascx. You need to provide the site administrator with the ability to change the out-of-the-box search control to MySearch.ascx. What should you do?

Options

  • AOverride the search delegate control by using a Feature.
  • BModify the <SafeControls> element in the web.config file.
  • CConfigure the SearchBox.dwp in the Web Part gallery,
  • DModify \14\TEMPLATE\FEATURES\SearchWebParts\SearchBox.dwp.

How the community answered

(32 responses)
  • A
    84% (27)
  • B
    3% (1)
  • C
    3% (1)
  • D
    9% (3)

Explanation

MNEMONIC RULE: "change the native search control = Override the search delegate" Customizing the search box using a feature

Topics

#delegate controls#search control override#Feature#user controls

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice