开发者

Sharepoint SPUserField

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'/>   
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜