masktextbox and string.empty

May 18 2010 10:12 AM

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)