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

Support for filtering with a VirtualizedStackPanel (or workaround)

3 Answers 37 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 20 May 2011, 03:34 PM
Hello,

I have a very common problem that I have seen referred to multiple times in this forum.

My RadComboBox (Q1 2011) has several thousand items in it, and opening the dropdown is very sluggish and sometimes unusable. Using the VirtualizedStackPanel allows the dropdown to run blazing-fast, but of course I lose the ability to filter (as documented and mentioned in other forum posts).

The problem is that it is absolutely crucial that I'm able to perform filtering and have the speed provided by the VirtualizedStackPanel. All forum replies are unclear as to whether you plan on supporting this in the future. In the meantime, I was hoping that you could point me to a reasonable solution.

I did find a solution deep in your documentation that went so far as to use some kind of Google search provider, but the implementation was very involved.

Is there a simple way to mimick filtering behavior with a VirtualizedStackPanel? I'm open to just about anything at this point.

Thanks for your time,
Jon

3 Answers, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 25 May 2011, 10:22 AM
Hi Jon,

Please find attached a sample project in which is illustrated how you can use virtualization and autocomplete together.

Hope this will help.

All the best,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Thomas Roithmeier
Top achievements
Rank 1
answered on 19 Jun 2011, 03:40 PM
Hi,

I am having the same problem as Jon and tried out the sample project. My problem is that there are no Items shown in the ComboBox now unless there is at least one letter entered. Is it possible to show the whole list when the drop down is opened and still get the performance with the AutoComplete functionality?

Thanks!
0
Konstantina
Telerik team
answered on 22 Jun 2011, 08:13 AM
Hi Thomas,

Since, I suppose you have customized the approach to fit your scenario, looking at the sample project I can suggest you to add in the OnAutocompleteProviderChanged property the following line:

provider.GetItems(string.Empty);

That will add 20 items in the ComboBox.

Hope this helps.

Greetings,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Jon
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Thomas Roithmeier
Top achievements
Rank 1
Share this question
or