2

Is it possible to use the SPUserField in a custom aspx page without the SPUserField being bound to a field (it always asks for FieldName). I basically have a custom page which ultimately creates a list item, i want the user to be able to pick another user from the standard Sharepoint control...

??

Thx

SteveCl
  • 4,529
  • 6
  • 29
  • 38

1 Answers1

3

In this case you can use PeopleEditor control from Microsoft.SharePoint.WebControls namespace. For instance, in one of my pages:

 <wssawc:PeopleEditor 
     AllowEmpty="false" id="allReviewers" runat="server"
     SelectionSet="User" width='500'/>   
naivists
  • 32,681
  • 5
  • 61
  • 85