SharePoint Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 5899 Page Views: 

How to validate user in SharePoint's people picker control?



Posted By: Avi Date: 7 December 2009 05:52:29 AM
 Answer:

SharePoint's people picker control (PeopleEditor) has an attribute "ValidatorEnabled" which needs to be set to "true" and on the submit button the code block should be included within the following conditional statement:

if (_objPeopleEditor.IsValid)
{
----------
code block
----------
}


Posted By: eTechPlanet


Date: 7 December 2009 05:52:29 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image qx1KXL
Related Questions
SharePoint : Explain Master Pages and Page Layouts used in SharePoint sites?

Explain Master Pages and Page Layouts used in SharePoint sites?

MOSS 2007 provides a set of templates for authering and displaying information. Page Layouts and Mas....
Category: SharePoint Date: 1/2/2010 3:03:22 AM
SharePoint : What is a Web Part and Web Part Zone in SharePoint?

What is a Web Part and Web Part Zone in SharePoint?

A Web Part, also called a Web Widget, is an ASP.Net server control which is added to a Web Part Zone....
Category: SharePoint Date: 1/2/2010 2:49:33 AM
SharePoint : What is a SharePoint Subsite?

What is a SharePoint Subsite?

A subsite is a single SharePoint site within a site collection. A subsite can inherit permissions an....
Category: SharePoint Date: 1/2/2010 1:15:24 AM
SharePoint : When to use different Site Collections?

When to use different Site Collections?

An Individual Site collection offers following : SharePoint Site Collection features for the End Us....
Category: SharePoint Date: 1/2/2010 1:12:15 AM
SharePoint : What is a SharePoint Site Collection and how can we create it?

What is a SharePoint Site Collection and how can we create it?

A SharePoint site collection is a hierarchical set of sites that can be managed together. Sites with....
Category: SharePoint Date: 1/2/2010 1:05:38 AM