Completed
Last Updated: 16 Jan 2020 13:02 by ADMIN
Doug
Created on: 03 Aug 2016 14:47
Category: UI for ASP.NET AJAX
Type: Feature Request
0
Active Directory into RadComboBox Name Lookup CodeSample
Would like a code sample of connecting to Active Directory/LDAP so in the RadComboBox  you can start looking up someone in the company phone book. 
Since this is a common Intranet need, this would be a quick win for many people that were not planning to install SharePoint.
1 comment
ADMIN
Rumen
Posted on: 16 Jan 2020 13:01

Hi Doug,

The PrincipalSearcher FindAll method returns a collection from the StackOverflow How can I get a list of users from active directory thread, which you can use to feed the DataSource, DataTextField and DataValueField properties of the ComboBox.  You can also check these articles: 

https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.accountmanagement.principalsearchresult-1?view=netframework-4.8

https://docs.telerik.com/devtools/aspnet-ajax/controls/combobox/data-binding/binding-to-array-or-arraylist.

If you implement a runnable sample, you can post it in the Code Library section and you will get rewarded with 3000-5000 Telerik points.

Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.