Templates and extensions that provide a sandboxed Visual Web Part together with enhanced support for sandboxed compilation to help you develop SharePoint solutions even more productively.
I tried a basic Sandboxed Visual WebPart and couldn't get this to work. I was able to see the solution deployed and activated as well as the feature in the site collection features section but could not see the webpart in the WP gallery. I have verified my permissions as the SC Admin. Any help would be appreciated. If this worked it would be really cool but I can't give it above two stars.
Visual Studio 2012 supports sandboxed visual web parts out-of-the-box so you don't need to install this tool for it. Please see this article for features in VS2012 RC: http://msdn.microsoft.com/en-us/library/ee290856(v=vs.110).aspx
SharePointWebPartCodeGenerator does not generate Japanese text properties correctly. <asp:Label ID="Label1" runat="server" Text="Japanese(日本語)"></asp:Label> will be generated as below @__ctrl.Text = "Japanese(譌・譛ャ隱・";
Everything looks great except that the sandbox visual webpart doesn't support foreign encoding. The .g file encoding created by the tool isn't as same as the .ascx file which makes foreign language texts become unreadable.
installed this and started my moss 2010 project. Masses of errors. After several hours workign ot was had gone wrong since i last opened the solution i found that the MOSS 2010 power tools was overriding the microsoft.sharepoint dll version 14 with its own version. Its version is possibly 2007, not sure, but whatever it is it killed all my moss 2010 functionality. Do not use this addin.
I have installed the Visual Studio SharePoint Power Tools and Visual Studio 2010 Service Pack 1. But when I create a Visual Web Part (Sandboxed) from scratch (Create Empty SharePoint project and then Add New Item Visual Web Part (sandboxed)) it will not compile "The name 'InitializeControl' does not exist in the current context".
I have read about this error but it only indicates a size issue with the User Control (fixed by VS 2010 SP1).
I have tried installing Power Tools before and after install of SP1. Same issue.
Anyone else having this issue. Date 18-MAR-2011
Hi genify2,
I am also getting the same issue. Is it fixed now?
BTW, I installed Power Tools after SP1. Do i need to reverse the sequence?
Request the group to help, as i am stuck on this for LOOOONG time now :(
Can someone please help me, i installed this on my dev machine with VS2010, it says it installed correctly, and i can see it on the extension manager, but when i try to start a new project, the sharepoint project node does not appear!
I tried to unninstall this extension, then install VS2010 SP1, then installed it again! the same result!
One thing that caught my attention is that in the extension manager buth buttons (disable and unninstall are disabled) what a paradox!
Anyway, can someone please help me with this?
Were you able to resolve this issue? I am currently seeing the same thing. I was following the link at
http://www.sharepoint4developers.net/en-nz/post/silverlight-sharepoint-web-parts.aspx
But I am not seeing the templates either, tried on two separate instances, just wondering what is making them not to show up. Would be interested in a resolution.
Has there been an answer to this, the templates do not show in VS 2010 even when using Administrator, I have installed it on two of my developers systems to no avail, is there a solution?
Thanks
I have a promblem with cyrillic symbols.
For example, if I write cyrillic symbols in aspx file, aspx.g.cs generate something like this:
@__w.Write(@"<h3>
Присылать рассылку:</h3>");
Hello,
This addin was recommended to me as I need to develop visual webparts in a WebApplication scope. I did not get extra project templates in my VS2010 installation..
What did I forget ?
You did not forget anything - the power tool only includes item templates, not project templates. Just create an empty SharePoint project and use Project/Add new item... to add a Visual Web Part (Sandboxed).
Any insights as to when/why one might start out using the "Module" project template versus the "Empty SharePoint Project" project template when the goal is to the add new "Visual Web Part (Sandbox)" items to the project?
I have the same issue. I have installed the power tools and still do not see a sandbox webpart in my projects listing for new empty and existing solutions that are set to sandboxed. Did you ever get this resolved?
Being the author of both sandboxed compilation and the sandboxed Web Part I decided to write a little about our teams perspective on the PowerTools versus CKSDEV. Read about it on my blog at http://blogs.code-counsel.net/Wouter/Lists/Posts/Post.aspx?ID=156.
Our basic stance is that the PowerTools are more feature rich in this area. Hence we'll remove our template and compile button in the next released version due somewhere in August 2010 (hopefully). This change will not impact existing users of our Web Part template, but will prevent people from creating new ones. We hope this will provide a clear model for developers to follow when it comes to using these features. One story is better than two!
Hope it helps
Wouter
Its Good. But really have many limitation. I tried to bind a data grid control . and used Ajax update panel but got exceptions..
Its usefull but to some extents only...
Hi Mike,
can you take a look at the issue I reported on MSDN forums here:
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010programming/thread/6eed876d-2a29-436f-b6c6-9b15b5c7decf
Seems the code generation process fails when the ASCX contains more than 8192 chars.
Hope it's an easy fix
Massimo
Hello,
Is there a fix available for the bug that Massimo detected two months ago ?
We need to build sandboxed webparts for a project, and the "8192 chars"-limit prevents us from using the new visual webpart template. Without a fix, this power tool is quite useless in the "real" world, it can only be used for a "proof of concept".
Thank you
Hi,
there is no workaround for this issue (I wish we had found it prior to the release!). A fix has been implemented and will be released with an update to Visual Studio 2010. There is no publicly annonced release date yet.
I'm new to VSTO development and am developing using VS 2010. I am designing a new tab for the ribbon in Excel and wanted to assign some images to the controls I am dropping on the ribbon. I found the VSTO Power Tools for VS 2008, specifically the one that allows you to browse the images that can be used as part of Office already. These same power tools do not work in VS 2010, although it looks like there are a couple that have been released thus far. Is the power tool for Ribbon ID's available yet for VS 2010, or can I use the one for 2008 in 2010? If not, and I install VS 2008 and use the ribbon ID's power tool, will the ribbon id's be the same for 2010?
Looks useful, but apart from evidently being Microsoft supported, is there any reason I would want to use this over the Community Kit for SharePoint Development Tools? ( http://cksdev.codeplex.com )
Hello Ali - We felt these two pieces of sandbox functionality were important to release. Not everyone can or does use extensions that are not from Microsoft.
Wouter, thanks for helping to answer this!
Mike
Ali,
This is a great question! When I installed CKSdev extensions a few weeks ago, a few things were different. We are delighted to see the cksdev project evolve fast, so forgive me if I get some of its features wrong.
CKSdev Sandboxed Visual Web Part does not have templates for VisualBasic. It uses a WebPart containing a User Control in source code form. The web part from the Power Tools has a visual designer for the web part itself, which is a more direct approach, and includes item templates for both C# and VB.
CKSdev has an option of invoking Sandboxed compilation on the context menu. Power Tools integrate sandoxed compilation into the main Compile MSBuild target, which means that you get the errors during normal build end even red "squiggles" without building in Visual Studio.
CKSdev is very feature-rich, while Power Tools do just two things. I would recommend installing both CKSdev and Power Tools, as they complement each other nicely.
Hope this helps,
Iouri
I'm new to VSTO development and am developing using VS 2010. I am designing a new tab for the ribbon in Excel and wanted to assign some images to the controls I am dropping on the ribbon. I found the VSTO Power Tools for VS 2008, specifically the one that allows you to browse the images that can be used as part of Office already. These same power tools do not work in VS 2010, although it looks like there are a couple that have been released thus far. Is the power tool for Ribbon ID's available yet for VS 2010, or can I use the one for 2008 in 2010? If not, and I install VS 2008 and use the ribbon ID's power tool, will the ribbon id's be the same for 2010?