The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
TIA,
Peter
ADAdministrator Syncfusion Team August 26, 2003 12:58 PM UTC
Hi Peter,
Sorry for the delayed response.
This can be accomplished by adding the following code in the ComboBoxBase Validating event handler.
this.comboBoxBase1.UpdatePopupControl();
Please refer to the code sample attached.
Regards,
Guru Patwal.