We are trying to add a filtered RadComboBox control that behaves as follows:
- When you start typing, filter the list with the Contains filter
- If you leave the control (blur), and your current text doesn't match an existing item in the list, revert to the item that was selected when the page was loaded (the current value before the user started typing the filter key)
Our current attempt is close, but doesn't quite get there. On blur, the combobox retains the value of whatever the user typed in, even though AllowCustomText is false. If we set MarkFirstMatch to true, we prevent the user from leaving any text in the dropdown that doesn't match an existing item, however we would prefer to clear it out to its original value if an item wasn't selected directly:
|<telerik:RadComboBox ID="_sicCode" runat="server" AllowCustomText="false" MarkFirstMatch="false" EmptyMessage="-- Select --" Filter="Contains" MaxHeight="150" />
Is there any way to achieve this behavior without extending the control?