ErrorProvider icon disappear after fixing the error
C#
3
Posts
2
Posters
0
Views
1
Watching
-
Hi I have used an ErrorProvider in my form, and it works truly, but when I run my project, after fixing the error of the textbox input, the errorprovider icon still exists and blinking. how the error icon disappears after fixing the error?
-
you have to clear the Error String via SetError:
errProvider.SetError (this, ""); //clear error string, icon hides