Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

PeopleEditor and PickerEntity in a webpart not submitting to SharePoint

  Asked By: Dale    Date: Feb 16    Category: Sharepoint    Views: 1965

It literally worked one time, now I just get array errors.

I am trying to submit from a usercontrol that is being hosted by a smartpart.
My code is:
PickerEntity entity = myPeopleEditorControl.Entities[0] as
PickerEntity;
Hashtable peopleEditorData = entity.EntityData;

SPUser SelectedUser = null;
SelectedUser =
SPContext.Current.Web.SiteUsers.GetByID(Convert.ToInt16(Convert.ToString(peopleE\
ditorData["SPUserID"])));

listItem["user"] = SelectedUser;
I am just hoping someone see's something I don't here.

Share: 

 

No Answers Found. Be the First, To Post Answer.