I am using a UltraNumericEditor for representing telephone numbers.
I am using a MaskInput #-###-###-#### for a 11 digit number. The problem is that If I just wanted
to enter the number without entering areacode or the first digit, in other words I am entering this
_-___-445-4343 and than try to tab out. It does not let me tab out unless I either blank out the whole
control or I enter in the first digit and area code.
I have set CausesValidation to false, Nullable to True, AlwaysInEditMode to False
Is there anything else I should be doing.
I have also tried using UltraMaskEdit control for telephone numbers and it behaves in the same manner
The # sign in a mask indicates a required character. You should use a mask character that is optional. Try using 9 instead of #.
thanks mike. i had tried using # but didn't try 9. Now it lets me leave without filling in the entire number, but now I have a different problem
If I have the MaskInput as 9-999-999-9999 and I enter in the following
blank-blank blank blank-123-4567 than upon leaving it shifts all the numbers to the left
1-234-567-
appreciate your help
Never Mind Mike. I set AlwaysInEditMode to True and now it leaves the number as they are entered.
Thanks again
You might also want to try "n" instead of 9 or #.