Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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 ?

share|improve this question
add comment

3 Answers 3

up vote 5 down vote accepted

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)]

http://visualstudiogallery.msdn.microsoft.com/8e602a8c-6714-4549-9e95-f3700344b0d9/

enter image description here

share|improve this answer
    
Thank you very much Vikalp –  user10582 Sep 27 '12 at 10:19
    
You are welcome ;-) –  Vikalp Kapadiya Sep 27 '12 at 10:19
add comment

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

share|improve this answer
    
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 :( –  Ben Stegink Oct 3 '12 at 0:18
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.