.NET ComboBox Autocomplete failing on slashes

Posted by Clyde on Stack Overflow See other posts from Stack Overflow or by Clyde
Published on 2009-03-26T13:25:43Z Indexed on 2010/03/11 19:04 UTC
Read the original article Hit count: 238

Filed under:
|
|

The .NET ComboBox autocomplete will not fully autocomplete with the display text contains a slash. It completes only up to the slash, leaving SelectedIndex == -1 and SelectedValue == null.

This behavior stupidly persists no matter whether your autocompletesource is set to ListItems rather than FileSystem or URL.

Is there any workaround for this that doesn't involve just throwing the ComboBox class away and writing a "MyComboBox" class?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about combobox