Skip to main content
A newer version of this page is available. .

ASPxClientListBox.ItemFiltering Event

Fires before the filtering is executed.

Declaration

ItemFiltering: ASPxClientEvent<ASPxClientListEditItemFilteringEventHandler<ASPxClientListBox>>

Event Data

The ItemFiltering event's data class is ASPxClientListEditItemFilteringEventArgs. The following properties provide information specific to this event:

Property Description
filter Gets a string that is a filter condition for the editor’s items typed by a user.
isFit Specifies whether the item should be shown in the search result.
item Gets the editor item object related to the event.

Remarks

Use the ItemFiltering event to show or hide the editor items in the search result. The ItemFiltering event is raised for each editor item during filtering.

The ASPxClientListEditItemFilteringEventArgs.item property is used to access the processed item. To define the processed item visibility in the search result, use the ASPxClientListEditItemFilteringEventArgs.isFit property. To get the search text entered by an end-user, use the ASPxClientListEditItemFilteringEventArgs.filter property.

Note

The ItemFiltering event is not in effect if the ASPxListBox.EnableCallbackMode property is set to true.

See Also