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 开发者_Python百科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
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'/>
精彩评论