2
Reply

masktextbox and string.empty

Michel Van Limbergen

Michel Van Limbergen

May 18 2010 10:12 AM
2.4k

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? 

Answers (2)