Load and search RadComboBox with large volume of items

1 Answer 47 Views
ComboBox
Praveenraj
Top achievements
Rank 1
Praveenraj asked on 06 Jul 2023, 07:02 AM

We use RadCombobox (WPF) for loading more than 20000 items.

We enabled the following properties and removed the Virtualization properties. We are facing performance problems on searching the items from RadCombobox element. How can we improve performance for the RadCombobox load and search, if virtualization properties cannot be used.

<telerik:RadComboBox
x:Name="itemBox"
HorizontalAlignment="Stretch"
CanAutocompleteSelectItems="True"
DisplayMemberPath="Name"
EmptyText="Select the item"
IsEditable="True"
IsFilteringEnabled="True"
IsTextSearchEnabled="True"
ItemsSource="{Binding ItemCollection, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
OpenDropDownOnFocus="True"
ScrollViewer.VerticalScrollBarVisibility="Auto"
SelectedItem="{Binding SelectedItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
TextSearch.Text="Name"
TextSearchMode="Contains" />

1 Answer, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 10 Jul 2023, 01:14 PM

Hi Praveenraj,

Thank you for contacting us.

When you use filtering, UI virtualization is not supported, and your program becomes slow.

I would suggest you take a look at our RadAutoCompleteBox control instead. It is virtualized by design and supports filtering, which improves its' performance. In addition, filtering could be asynchronous in order for your application to be more responsive.

If you have any further questions, please contact me.

Regards,
Dinko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ComboBox
Asked by
Praveenraj
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Share this question
or