SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to implement People Picker in my aspx page. I have added this tag into my aspx page :

<SP:PeopleEditor AllowEmpty="False" ValidatorEnabled="True" id="Picker" BorderWidth="0px" MaximumHeight="20" runat="server" MultiSelect="False" ShowCreateButtonInActiveDirectoryAccountCreationMode="true" SelectionSet="User" />

as well as register it using below :

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

Now, when I input value and resolve it, it's working fine. When I remove the resolved user from people editor using backspace it is shown as removed. But, when I input another user name/ID and try to resolve it, it shows HTML like below with message "You are only allowed to enter one item." in IE8 and IE9 (it works fine in IE7):

<SPAN id=spanXYZ\test_a class=ms-entity-resolved title=XYZ\test_a tabIndex=-1 contentEditable=false>
  <DIV style="DISPLAY: none" id=divEntityData description="XYZ\test_a" isresolved="True" displaytext="Test Admin" key="XYZ\test_a">
    <DIV data='
      <ArrayOfDictionaryEntry xmlns:xsi="" xmlns:xsd="">
          <Key xsi:type="xsd:string">DisplayName</Key>
          <Value xsi:type="xsd:string">Test Admin</Value>
          <Key xsi:type="xsd:string">Email</Key>
          <Value xsi:type="xsd:string"></Value>
          <Key xsi:type="xsd:string">SPUserID</Key>
          <Value xsi:type="xsd:string">666</Value>
          <Key xsi:type="xsd:string">PrincipalType</Key>
          <Value xsi:type="xsd:string">User</Value>
new test

Please let me know, what needs to be done for the same.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.