
I'm attempting to paste into a MaskedTextBox with the following mask="( [A-Z])?[0-9]{6,10}".
If the paste is a number or a number with a A-Z, it works fine, but if it has whitespace of more than one letter in front of the letter, it does not paste.
I attempted to intercept the space on the PreviewKeyUp event (set e.handled=true for space or tab), but I seem to be getting the V (from CTRL-V) instead of the pasted text.
Thanks!
If the paste is a number or a number with a A-Z, it works fine, but if it has whitespace of more than one letter in front of the letter, it does not paste.
I attempted to intercept the space on the PreviewKeyUp event (set e.handled=true for space or tab), but I seem to be getting the V (from CTRL-V) instead of the pasted text.
Thanks!