This is a migrated thread and some comments may be shown as answers.

radComboBox performance issue, very slow?

1 Answer 384 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Rob Ainscough
Top achievements
Rank 1
Rob Ainscough asked on 14 Aug 2013, 12:32 AM
I'm having a problem with a radComboBox bound to an observable collection that contains about 25,000 object entries ... in fact performance starts to get very bad around 3000+ entries (IsEditable = True and Binding Mode= TwoWay).  The performance problem is noticeable when I click on the drop down arrow to display entries in the dropdown list ... nothing happens, no list and it's unresponsive ... 30-45 seconds (a huge delay) before the list will appear showing my items.  Once the items finally display, scrolling the list is VERY VERY slow.  Even when I close the dropdown list it's slow.

As a test I set IsEditable=False ... this made no difference in the performance.

So as another test, I replaced the radComboBox with Microsoft ComboBox and performance was just as bad.

So I guess my question is -- is there anyway to improve the performance of radComboBox or MS ComboBox?

Thanks, Rob.

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 16 Aug 2013, 01:58 PM
Hello,

In the current version of RadComboBox the virtualization is not turned on by default. In order to turn it on all you need to do is set the ItemsPanel of the control to VirtualizingStackPanel.

Th next code snippet shows how to set the VirtualizingStackPanel to the ItemsPanel of the Combobox control:
<telerik:RadComboBox ...>
    <telerik:RadComboBox.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel/>
        </ItemsPanelTemplate>
    </telerik:RadComboBox.ItemsPanel>
</telerik:RadComboBox>

It is worth mentioning that filtering with virtualization is not supported in the current version of the control. Fortunately we have another control RadAutoCompleteBox which is virtualized by default and supports filtering.

Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ComboBox
Asked by
Rob Ainscough
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or