Quantcast
Viewing all articles
Browse latest Browse all 12583

Textbox control with AutoCompleSource does not work sometimes.

Hi

I have got a WinForms application written in C# compiled under .NET framework version 4.0. On a form I have one Textbox control with AutoCompleSource property set to AutoCompleteSource.CustomSource. I want to provide a autocomplete functionality for that textbox.I assign AutoCompleteCustomSource property with a AutoCompleteStringCollection. AutoCompleteStringCollection contains a list a strings that can appear while the user is enetering characters into a textbox. That functionality works fine and I achieve what I wanted BUT only for some amount (event for thousands it works fine) of strings stored in AutoCompleteStringCollection. Recently I have tested my application against 211 thousands of items and something different is going on. When I enter up to 3 or 4 characters into textbox autocomplete list does not show all strings that are matching filter criteria. It shows most of them but not all of them. Some items are missing. After I enter more than 4 characters suddenly the list is recalculated and shows all matching items. Is there any way to control that behaviour? I would like to show always all matching elements, not only after 5th character is entered. Any help would be appreciated.

Regards


kicaj


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>