About Me

My photo
a Dynamic and Energetic guy.....

Wednesday, February 13, 2013

Add a Visual WebPart to a SandBox Solution in SharePoint 2010

When we create a Sandbox solution we can't add Visual Web-parts to it.
But it is mandatory when we create complex scenarios.
So we have a solution powered by Microsoft. --> "Visual Studio 2010 SharePoint Power Tools"

1) First download the small patch

2) Install the package (SPPowerTools_x86)
3) It Installs plugin to VS 2010
4) After created a SharePoint project, we can add "Visual WebParts (Sandboxed)" to our project

5) Can program our CODE, add complex logic

6) Can add all web controls to our .ASCX file
7) Then we have, full Web controls enabled WebPart (SANDBOX)

No comments:

My Masters