I have a RadComboBox which contains a list of objects. These objects have both a *name* and a *code*. The text value for each combo item is *<name> (<code>)* and the object is stored in the item value.
I have AutoCompleteMode = SuggestAppend and DropDownStyle = DropDown which gives me the necessary auto-complete logic for a user typing in something matching *<name> (<code>)*.
However I want the user to be able to type in something and the combo attempt to match on either the name OR code. Is this possible by sub-classing the combo and overriding some event?
For example, say we have an object with name = "Test Object" and code = "TST01". If the user types "T" we would get a match on this item, and if they typed "Test" or "TST" we would also get a match.
Is there anyway to override the auto-complete logic using custom code?