This is probably an easy one, but I noticed that if I have a masked editor control that doesn't contain any data, the validation error is displayed. I changed the ValidationMode to LostFocus and that gets rid of it, but if I enter the field and exit it without entering anything (leaving it blank) I get the validation error again. Is there a way to not show the validation message unless something incorrect has actually been entered?
Hi,
I am also facing the same issue. How did u resolve it?
Thanks,
Bavithraa.M
Glad I could help. Let me know if there is anything more.
Thanks, Marianne. That ValueConstraint is exactly what I needed.
Let me know if I you have further questions.
Sorry, I should have been more specific. What I'm trying to do is provide a mask that forces the user to enter four numbers ("####" like a year) but I don't want them to have to enter anything so leaving it blank should be okay, as well.