Edit this page


RadDropDownList supports filtering of its items. In order to apply a filter, you should set the Filter property of RadDropDownList to a predicate that will be called for every data item in order to determine if the item will be visible.


this.radDropDownList1.Filter = FilterItem;

Me.radDropDownList1.Filter = AddressOf FilterItem

Filtering predicate

private bool FilterItem(RadListDataItem item)
    if (item.Text.StartsWith("L"))
        return true;
    return false;

Private Function FilterItem(item As RadListDataItem) As Boolean
    If item.Text.StartsWith("L") Then
        Return True
    End If

    Return False
End Function

If you apply the above filter to a RadDropDownList that is bound to the Northwind.Customers table you will obtain the following result:

Figure 1: Filter

dropdown-and-listcontrol-dropdownlist-filtering 001

Another option to filter the items is to specify the FilterExpression property.


this.radDropDownList1.FilterExpression = "Country LIKE 'Argentina'";

Me.radDropDownList1.FilterExpression = "Country LIKE 'Argentina'"

Figure 2: FilteringExpression

dropdown-and-listcontrol-dropdownlist-filtering 002


The IsFilterActive property gets a value indicating whether there is a Filter or FilterExpression set.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article