Hi,
We have an ComboBoxAutoComplete in a childForm of a MDI application. There is no problem to select an item from the dropdown list the first time entering the childform. But if you
open another child form and comeback to the previous form, and click on the ComboBox, you get an exception:
System.ArgumentNullException: Key cannot be null.
Parameter name: key
at Syncfusion.Windows.Forms.Tools.AutoComplete.GetControlAutoMode()
I have attached a simple project that can reproduce the problem.
(1)You run the application,
(2)click File->New to open a child form,
(3)click on the comboBox dropdown button, no problem.
(4)Then click File->New to open a second childform,
(5)Then go back to the first childform and click on the ComboBox dropdown button again, you get the exception.
Any idea on how to solve the problem?
Thanks
Dongxian Li
AutoComplateComboBoxIssue_5117.zip