My form has code that under a certain condition adds an user defined error to a node:
this.Errors.Add(errorNode, "USER_DEF1", "the error message", "the more detailed error message", 101,
ErrorMode.Modeless);
The error is added succesfully to the FormError collection. When I try to submit the form, shouldnt I see that the textbox (which is bound to the errorNode) with a red dashed line and not be able to submit the form ? It seems that this error is ignored, I can even submit the form.
For another node (bound to another text box) the same line of code works perfectly and I get the red dashed line.
Does anybody have an idea what might cause this issue ?
Thanks, Alin