PrepAway - Latest Free Exam Questions & Answers

You need to convert the user control to a Web Part that will be hosted in a Microsoft SharePoint Server 2010 f

You are running a default installation of Microsoft Visual Studio 2010. You have a user control
named Control.ascx. You need to convert the user control to a Web Part that will be hosted in a
Microsoft SharePoint Server 2010 farm. The Web Part must be packaged as a sandboxed
solution. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a new Web Part and reuse the code from the existing MyControl.ascx file.

B.
Import the user control into a new Visual Web Part and use the existing MyControl.ascx file.

C.
Modify the SafeControls section of the web.config file.

D.
Copy the Control.ascx file to the ControlTemplates folder.


Leave a Reply