Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Autocomplete Match on Contains, not StartsWith

$
0
0

I have a ToolStripTextBox, using it for a filter for a SQL Query.

If I have the list:

Apple, Orange, Pineapple

The suggest and append features will pick out "Apple" when I filter for "App".

I want to alter the Suggest part to include "Pineapple" also (match on string.Contains, not just string.Startswith)

Is there a way to intercept something like OnSuggestFiltering(), or whatever routine handles the filter?


I'd rather live with false hope than with false despair.


Viewing all articles
Browse latest Browse all 8156

Trending Articles



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