Required Field Validation Group on PeopleEditor control
June 9th, 2010 by Matt
Very similar to my post on validation of the DateTimeControl, a PeopleEditor (people picker) control I was using was validating on each postback.
I created a required field validator with a ValidationGroup and to get the validator to look at the correct people editor field use the following code.
myRequiredFieldValidator.ControlToValidate = string.Format("{0}$downlevelTextBox", myPeopleEditor.ID);
Posted in SharePoint
September 15th, 2010 at 4:13 pm
Perfect, thanks for posting this.