Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

How to update person or group column with peopleeditor control values

$
0
0

Hi,

I have created custom aspx page and added "PeopleEditor" control(can select multiple users)  in that page. Now I am trying to update person or group column with peopleeditor control values.I am not getting any error if I select single user in PeopleEditor control but getting error if I select more than one user.

UpdateItem(listItem, "ListColumnName",

listItem.ParentList.ParentWeb.EnsureUser(peopleeditorId.CommaSeparatedAccounts));

Can anybody help me out to resolve the issue?

Thank you in advance!!!


AA.


Viewing all articles
Browse latest Browse all 11571

Trending Articles