Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint 2013 and people picker not working in custom C# aspx website

$
0
0

Hello,

I have a custom C# aspx page that was created to be used inside of SharePoint 2010. It uses several people-picker controls.

<SharePoint:PeopleEditorid="peopleEditor"runat="server"AutoPostBack="true"CssClass="ms-usereditor"></SharePoint:PeopleEditor>

It worked great in 2010. But in SharePoint 2013 when I click on the browse icon nothing pops up. So I found this:

<SharePoint:ScriptLinkname="clienttemplates.js"runat="server"LoadAfterUI="true"Localizable="false"/><SharePoint:ScriptLinkname="clientforms.js"runat="server"LoadAfterUI="true"Localizable="false"/><SharePoint:ScriptLinkname="clientpeoplepicker.js"runat="server"LoadAfterUI="true"Localizable="false"/><SharePoint:ScriptLinkname="autofill.js"runat="server"LoadAfterUI="true"Localizable="false"/><SharePoint:ScriptLinkname="sp.js"runat="server"LoadAfterUI="true"Localizable="false"/><SharePoint:ScriptLinkname="sp.runtime.js"runat="server"LoadAfterUI="true"Localizable="false"/><SharePoint:ScriptLinkname="sp.core.js"runat="server"LoadAfterUI="true"Localizable="false"/>

Now when I click on the browse icon this is what appears: A white blank pop up window. And the actual people picker popup. I can keep clicking on the browse icon and it will keep adding more popups.enter image description here

I must be missing some kind of reference. It obviously is not displaying correctly, Any ideas?

Even the ClientPeoplePicker doesn't display correctly:

<SharePoint:ClientPeoplePickerrunat="server"ID="PeoplePickerControlName"Required="true"ValidationEnabled="true"InitialHelpText="text"VisibleSuggestions="3"Rows="1"AllowMultipleEntities="false"CssClass="ms-long ms-spellcheck-true"/>

I should add when I create a sharepoint page and add an iframe with the source being the aspx page. The 2010 people picker works. The ClientPeoplePicker still has display issues.

enter image description here

Can you help me please ?

Best regards


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>