C# WinForms ErrorProvider Control
Posted
by Barry
on Stack Overflow
See other posts from Stack Overflow
or by Barry
Published on 2010-04-21T10:39:20Z
Indexed on
2010/04/21
10:43 UTC
Read the original article
Hit count: 837
Hi
Does anyone know if there is a way to get a list of controls that have the ErrorProvider icon active. ie. any controls that failed validation. I'm trying to avoid looping all controls in the form.
I'd like to display some sort of message indicating how many errors there are on the form. As my form contains tabs I'm trying to make it apparent to the user that errors may exist on inactive tabs and they need to check all tabs.
Thanks
Barry
© Stack Overflow or respective owner