2015-11-18 40 views
0

我正在使用SharePoint 2013 WebPart。在这里,我使用标准peoplePicker-元素基于SharePoint 2013 - WebPart - PeoplePicker不在CodeBehind

<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 

当我的ascx页面上创建的元素..

<SharePoint:PeopleEditor ID="peopleEditor" runat="server" Rows="1" IsValid="true" AllowTypeIn="true" MultiSelect="True" 
      PlaceButtonsUnderEntityEditor="False" /> 

智能感知识别元素很好..但不是在后面的代码。在这里我得到一个通知有关潜在缺少组件..但我认为一切都很好,在这里..

using Microsoft.SharePoint; 

using Microsoft.SharePoint.WebControls; 

我没有一个单一的线索是什么问题。希望对你有所帮助。 并感谢预测。

格尔茨 壹岐

回答

0

好对不起..我的错。我部署的soltion沙盒模式......对于未来..你需要有一个弗拉姆-Deployement如果你想使用peoplePicker ..