Using the comboboxext is there a way to find out if the text currently in the textbox also in the listbox without having to enumerat through each item?
For example i have a comboboxext in which you can select an item in the combobox or type your own in. if the item typed in is not in the comboboxext then i need to get some user input to configure the new item. before all i had to do was
if (comboBoxExt1.ListControl.SelectedIndex == -1)
// item is not in listcontrol.
// configuration code here
now with the newest version it is no longer the case. What is another way to do this?
ADAdministrator Syncfusion Team August 26, 2003 08:58 AM
Sorry for the delayed response.
This can be accomplished by adding the following code in the ComboBoxBase Validating event handler.
Please refer to the code sample attached.