Click here to Skip to main content
15,889,817 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Why does the ComboBox control in WinForms not have a DataBindingComplete event like the DataGridView control?

I'm filling a Combobox from one DataSet with items to filter the DataGridView on. I got that working, but how do I tell when all the data bound items have finished loading into the ComboBox so I can then invoke the filter for the first time?

Thanks in advance for any help.
Posted

1 solution

Using BindingSource you would be able to know when the binding is complete. You can register to BindingComplete event.

You can refer to the implementation here BindingSource.BindingComplete Event[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900