T
Tim Chantome
I want to use a single ErrorProvider for my entire form by adding
control/error combinations using:
myErrorProvider.SetError(textBox1, errorMessage1);
myErrorProvider.SetError(textBox2, errorMessage2);
This works with no problems. However, I want to be able to easily
clear *all* errors that the provider is bound to. I realize that I
can set do this via the following:
myErrorProvider.SetError(textBox1, "");
myErrorProvider.SetError(textBox2, "");
....but since there will be a lot of controls on the page I'm hoping
there's some way to simply clear all.
myErrorProvider.Clear(); //alas, i know this doesn't exist...
anyone have any suggestions?
TIA
control/error combinations using:
myErrorProvider.SetError(textBox1, errorMessage1);
myErrorProvider.SetError(textBox2, errorMessage2);
This works with no problems. However, I want to be able to easily
clear *all* errors that the provider is bound to. I realize that I
can set do this via the following:
myErrorProvider.SetError(textBox1, "");
myErrorProvider.SetError(textBox2, "");
....but since there will be a lot of controls on the page I'm hoping
there's some way to simply clear all.
myErrorProvider.Clear(); //alas, i know this doesn't exist...
anyone have any suggestions?
TIA