Sharepoint 2010 当存在多个匹配项时,Sharepoint 2010 PeoplePicker不会显示包含名称选择的下拉列表
场景:aspx页面上的人员选择器控件Sharepoint 2010 当存在多个匹配项时,Sharepoint 2010 PeoplePicker不会显示包含名称选择的下拉列表,sharepoint-2010,peoplepicker,Sharepoint 2010,Peoplepicker,场景:aspx页面上的人员选择器控件 <wssawc:PeopleEditor AllowEmpty="false" AcceptAnyEmailAddresses="true" ValidateResolvedEntity="true" ShowButtons="true" ShowDataValidationErrorBorder="true" ShowEntityDisplayTextInTextBox="true" ShowErrorPlaceHolder="tru
<wssawc:PeopleEditor AllowEmpty="false" AcceptAnyEmailAddresses="true" ValidateResolvedEntity="true"
ShowButtons="true" ShowDataValidationErrorBorder="true" ShowEntityDisplayTextInTextBox="true"
ShowErrorPlaceHolder="true" ValidatorEnabled="true" MultiSelect="false" ID="secondaryOwnerPicker"
runat="server" SelectionSet="User" Width="40em" AllowTypeIn="true" DoPostBackOnResolve="false"
EnableBrowse="true" ForceClaims="true" Title="Secondary Owner People Picker" UrlZone="Extranet"
EnabledClaimProviders="ADClaimsProvider" />
用户键入一个具有多个匹配项的名称,当您将鼠标悬停在该名称上以解析该名称时,不会像在SP2010 Central Admin中那样弹出任何列表框。当我将鼠标移到带有红色下划线的名称上时,得到的消息是“多个条目匹配,请解决”。当我点击红色下划线的名字时,什么也没有发生
我错过什么了吗
更新尝试单击名称解析多个匹配项后,我看到此javascript错误:
错误:未定义CAMOpt源文件:
线路:2
我已经注册了WebControl,但需要添加对core.js文件的引用
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
在头上加上
<wssawc:ScriptLink ID="ScriptLink1" Language="javascript" Name="core.js" runat="server" />
将这两种样式包含在包含所有找到的名称的“尼斯”框中
<link rel="Stylesheet" type="text/css" href="/_layouts/1033/styles/Themable/layouts.css" />
<link rel="Stylesheet" type="text/css" href="/_layouts/1033/styles/Themable/corev4.css" />