About Me

My photo
a Dynamic and Energetic guy.....

Friday, October 17, 2008

Create Sharepoint People Picker Programatically

protected override void CreateChildControls()
{
PeopleEditor peoplePick = new PeopleEditor();
peoplePick.AllowEmpty = true;
peoplePick.AllowTypeIn = true;
peoplePick.BrowseButtonImageName = "Search";
peoplePick.CheckButtonImageName = "Validate User";
peoplePick.ErrorMessage = "No Names Found";
this.Controls.Add(peoplePick);
base.CreateChildControls();
}

No comments:

My Masters