Which method should you override in the Web control?
You need to create a Web control that displays HTML content during the last stage of the page
processing lifecycle. Which method should you override in the Web control?
Which event should you use?
You need to create a Web control that displays an ASCX control. Which event should you use?
You need to ensure that WebPart1 can run as a sandboxed solution in SharePoint Server 2010
You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server
2007 server. You need to ensure that WebPart1 can run as a sandboxed solution in SharePoint
Server 2010. What should you do?
You need to convert a user control named Control.ascx to a SharePoint Web Part
You need to convert a user control named Control.ascx to a SharePoint Web Part. The Web Part
must be packaged as a user solution. What should you do?
You need to ensure that the Web Part can send data to other Web Parts in the site
You plan to create a Web Part for a SharePoint site. You need to ensure that the Web Part can
send data to other Web Parts in the site. What should you do?
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?
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
runtime 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.)
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?
You need to ensure that the MySearchBox.ascx control appears
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?
Which code segment should you add at line 03?
You create a custom page layout that contains the following code segment. (Line numbers are
included for reference only.) 01Please enter a number:
02<SharePointWebControls:InputFormTextBox ID=”NumberTextBox” runat=”server”/> 03 You
need to prevent the page from being saved if NumberTextBox is empty. Which code segment
should you add at line 03?