English 中文(简体)
微软,SharePoint.WebControls.SPRibbon not Working in Sharepoint Sand 方框解决方案
原标题:Microsoft.SharePoint.WebControls.SPRibbon not Working In Sharepoint SandBox Solution?

我的大麻使用Webpart In Sand Box Solutions创造了背景塔。

Web Part Error: Unhandled exception was made by the Sand Boxed Code Packper s Execute methods in the part Trust app area: 发生了意外错误。

我的《网络守则》

Microsoft.SharePoint.WebControls.SPRibbon.GetCurrent(this.Page).MakeTabAvailable("MyProject.Ribbon.HelloTab"); 

是否有另一种解决办法来建立习惯的Ribbon Tab?

最佳回答

在沙箱内不允许铺设rib子。 你们可以选择。

  1. Make your solution a farm solution (thereby giving it the necessary permissions)
  2. Use a sandbox proxy the perform the steps on the ribbon (see MSDN)
问题回答

暂无回答




相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Enable PHP highlights in VS 2010?

I ve heard that Visual Studio 2010 Beta 2 has support for PHP. When I load a PHP file though, it has nothing highlighted and is nothing more than a glorified text editor. Is there a way to enable it?...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

Unit Testing .NET 3.5 projects using MStest in VS2010

There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...

热门标签