Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Does somebody know exist a control for a visualwebpart that allows to select an user/control?

I am creating a form using a visual web part and i want to allow to select an user.

I am searching for this control:

enter image description here

thanks.

share|improve this question

3 Answers 3

It's the PeopleEditor control. Here's the good article about it. It's about 2007 version but there's no changes in 2010.

share|improve this answer

To add the normal people picker to a web part you can use

Microsoft.SharePoint.UserControls.PeopleEditor or

<SharePoint:PeopleEditor ID="myPeoplePicker" runat="server" Width="300" BorderStyle="Solid" BorderColor="Black" BorderWidth="1" />

Check out the below link, it has complete code:

http://salaudeen.blogspot.in/2012/04/using-people-picker-in-web-parts.html

share|improve this answer

http://sharepointbyte.com/how-to-call-a-people-picker-in-visual-web-part-in-sharepoint-4/

Check out the above link, it has complete code:

share|improve this answer
    
Please donot provide only the links to the answer, kindly try to get the idea and put it on your own words here. so that it will be like adding more credit to this site rather than navigating to another site for answer. –  Karthik Jaganathan Oct 28 '13 at 15:19
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Robert Lindgren Oct 28 '13 at 17:52

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.