I am using SharePoint online(Office 365). for office 365 it is necessary to create sandbox solution but in sandbox solution it is not possible to create visual web part. is there any way to create visual web part in sandbox solution ?

3 Answers 3


In sandbox solution you can not create visual webpart directly. for that you have download and install the Visual Studio 2010 SharePoint Power Tools from given link and then you can create Visual WebPart in sandbox solution. [Visual Web Part(Sandboxed)]


enter image description here


Another option to what Vikalp said is to use Visual Studio 2012

  • I would like to second what eirikb said. Visual Studio 2012 works great for Sandbox Visual Web Parts - I don't have a high enough reputation yet to vote up his answer :( Commented Oct 3, 2012 at 0:18

After you installed Visual Studio 2010 SharePoint Power Tools for you create a sandbox solutions, you need create a Empty Project, and after add a Visual Web Part (Sandboxed).

I tell this because only install VS 2010 Power Tools not enable this option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.