I have a ComboBox that has an associated ErrorProvider in the user control it belongs to. When an error happens, I want to display an icon on the left of the combo.
However, no matter what value I set as IconAlignment for my combo, the icon gets displayed on the right. Do you guys have any idea what could be wrong here?
Thanks for any help.
If you call Clear() method of ErrorProvider, it resets the IconAlignment of the associated controls.
You can use ErrorProvider's SetError(control, String.Empty) instead to clear the error for the ComboBox.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With