The following comparison doesn't work:
if (maskedTextBoxLidNummer.Text != string.Empty)
the mask is always part of the textbox.
How can I test the masktextbox on empty without the interference of the mask?
Masktextbox and string.empty
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Aleksandar IlioskiRank #9,295 · 208 reputationPosted May 18, 2010, 7:29 AM EDT
.. the preview of the masked text Box
Michel Van Limbergen3 reputationPosted May 18, 2010, 9:18 AM EDT