I am having some troubles with a masked textbox.
How can I hide those underlines which are shown in the textbox by default?!
Also I want the user be able to enter up to 3 digits (he/she can enter atleast 1 and maximum 3 digits). how to set that?
Set empty space(leave one space) in Promptchar property of masked textbox.
and second answer you already get. or you can put validation on Leave event for that.