Last active
March 14, 2016 07:25
-
-
Save IAMIronmanSam/ff77422db69904853acd to your computer and use it in GitHub Desktop.
People Picker in custom aspx page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=your page token here" %> | |
| <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> | |
| <fieldset> | |
| <div class="form-group"> | |
| <label class="col-md-4 control-label" for="textinput">Owner</label> | |
| <div class="col-lg-7"> | |
| <div class="input-group"> | |
| <SharePoint:ClientPeoplePicker | |
| Required="true" | |
| AllowEmailAddresses="true" | |
| ValidationEnabled="true" | |
| ID="owner" | |
| runat="server" | |
| InitialHelpText="Enter name/email address" | |
| VisibleSuggestions="3" | |
| Rows="1" | |
| AllowMultipleEntities="false" | |
| CssClass="ms-long ms-spellcheck-true form-control input-md"/> | |
| </div> | |
| </div> | |
| </div> | |
| </fieldset> | |
| </asp:Content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment