Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a ListBox which have about 100000 items. Now I want to to filter this ListBox based on what user types in TextBox. I want to search real time, so I handle TextBox_OnTextChanged event.
My first solution was to set ListBox's ItemsSource whenever text changed. This is really slow.
I using CollectionViewSource,ObservableCollection,,INotifyPropertyChanged but this doesnot make it faster.
Thanks All
Posted
Comments
Maciej Los 15-Mar-15 7:57am    
Post your code. We can't read in your mind...
Style-7 17-Mar-15 8:54am    
I think you must create data base and read data by query to listbox (delete all items before).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900