SharePoint 2010 LeaderPicker не показывает выпадение с выбором имени, когда существует более одного матча
-
14-11-2019 - |
Вопрос
Сценарий: Comply Picker Control на странице ASPX.
<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" />
.
Типы пользователей в имени, имеющем несколько совпадений, и нет коробки списка, который появляется при наведении мыши на имя, чтобы разрешить его, как вы будете делать в Central Admin SP2010.Сообщение, когда я получаю, когда мы наведите курсор по имени с красным подчерком, представляет собой «Mulilitple Phowers Match, пожалуйста, разрешите».Ничего не происходит, когда я нажимаю на красное подчеркнутое имя.
Я что-то упускаю?
Ошибка: CAMOPT не определен
Исходный файл: http://myserver/_layouts/entityeditor.js?rev= 1% 2fj% 2ba5po0xzxnrjxvhokg% 3D% 3D
Строка: 2
Решение
i already had webcontrols registered but needed to add a reference to the core.js file
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
in the head add
<wssawc:ScriptLink ID="ScriptLink1" Language="javascript" Name="core.js" runat="server" />
include these two styles for the nice box with all the names found
<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" />