Microsoft
70-573 · Question #129
You are running a default installation of Microsoft Visual Studio 2010. You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server 2007 server. You need to ensure that…
The correct answer is A. Create a new Visual Web Part by using the code from WebPart1. See the full explanation below for the reasoning.
Question
You are running a default installation of Microsoft Visual Studio 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 Microsoft SharePoint Server 2010. What should you do?
Options
- ACreate a new Visual Web Part by using the code from WebPart1.
- BCreate a new Web Part by using the code from WebPart1.
- CCreate an ASCXfile for WebPart1, and then copy the file to the ISAPI folder.
- DCreate an ASCXfile for WebPart1, and then copy the file to the CONTROLSTEMPLATES folder.
How the community answered
(40 responses)- A73% (29)
- B8% (3)
- C18% (7)
- D3% (1)
Community Discussion
No community discussion yet for this question.