What should you do?
You have a SharePoint site that uses a master page named Master1.master.
You create a custom user control named MySearch.ascx.
You need to change the default search box to MySearch.ascx.
What should you do?
What should you do?
You have several SharePoint sites.
You plan to load a custom script in all pages of the sites. You need to ensure that you can activate or deactivate the script at the site level.
What should you do?
What should you do?
You create a user control named MySearchBox.ascx.
You plan to change the native search control in SharePoint to MySearchBox.ascx. You implement a Feature that contains the following code segment.
<Control Id=”SmallSearchInputBox”
Sequence=”100″
ControlSrc=”~/_controltemplates/MySearchBox/MySearchBox.ascx”>
</Control>
You discover that the MySearchBox.ascx control fails to appear. You need to ensure that the MySearchBox.ascx control appears.
What should you do?
What should you do?
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-ofthe-box search control to MySearch.ascx.
What should you do?
What should you configure in the web.config file?
You have a Web Part that causes an error.
You need to ensure that you can view the trace history in the Trace.axd file.
What should you configure in the web.config file?
Which two actions should you perform?
You create and deploy a custom Web Part.
You add the Web Part to a page and receive a run-time error. You need to display the detailed information of the error on the page.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
which process should you attach the debugger?
You create a SharePoint farm solution that contains a Web Part.
You need to debug the Web Part by using Microsoft Visual Studio 2010.
To which process should you attach the debugger?
What should you use?
You create a custom Web Part.
You need to create a class to log Web Part errors to the Unified Logging Service (ULS) logs.
What should you use?
which process should you attach the debugger?
You create a sandboxed solution that contains a Web Part.
You need to debug the Web Part by using Microsoft Visual Studio 2010.
To which process should you attach the debugger?
Which method should you use?
You need to connect two Web Parts by using the IWebPartRow interface.
Which method should you use?