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?
A.
Create a new Web Part by using the code from WebPart1.
B.
Create a new Visual Web Part by using the code from WebPart1.
C.
Create an ASCX file for WebPart1, and then copy the file to the ISAPI folder.
D.
Create an ASCX file for WebPart1, and then copy the file to the CONTROLSTEMPLATES folder.
Explanation:
MNEMONIC RULE: “new Web Part”Since sandboxed solutions have been introduced only with SharePoint 2010, your only option is to use the MOSS 2007 Web Part source code and create a new sandboxed Web Part.