I'm trying to use the RadMaskedTextBox. What I need to do is to allow the user to enter 3 different formats.
Below are examples
If he enters 132 then there is nothing different but if he types in 1234 then as soon as he enters 4, I need to display the dash. It is the same for 7. I can't use a validator as I need it on the entry and not when he is validating the page.
I thought about using a mask but I don't want to display the dash when the page loads in case he only types in 3 digits. I thought about a regular expression but I don't know how to implement only when the user is typing and not validating.
Maybe the RadMaskedTextBox is not the right control to use.
Thank you for your help.