Question

I need to create an app page with some multiline textboxes.

In those textboxes, user should be able to type users, and put as many users or groups in the normal sharepoint way: domain\user1; domain\user2, etc

How can I achieve this functionality in the multiline textbox?

Was it helpful?

Solution

If you mean the width, you just set the width of the PeopleEditor control.

<SharePoint:PeopleEditor Width="300" ID="myppl" runat="server" AllowEmpty="false" MultiSelect="true" />

OTHER TIPS

Could you just override the style the people/group input field to be taller? I don't think you're going to be able to mimmic the functionality of the people picker easily.

Looking at both 2007 and 2010 person/group fields, you'd just need to apply a height property to the .ms-inputuserfield in your application page CSS to set a height to say 100 px. This will mke the input box appear as a multiline field but still retain the functionality of a person group field.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top