We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

using mask for ".net textbox"

i don't want to use vb6 maskedbox. but how can i apply mask a textbox (like a tel. number " (___) ___ __ __ "

3 Replies

JO John March 27, 2003 08:39 AM

use regular expressions


SA Sameer April 25, 2003 11:39 AM

Capture the OnKeyDown for the Textbox and then use regular expression. A good post http://www.codeproject.com/cs/miscctrl/maskedcsedit.asp?target=maskedtextbox I think this one will abt solve ur problems > use regular expressions


RP Ramesh Praveen Syncfusion Team April 29, 2003 03:09 PM

In case you are not aware, Essential Tools comes with a Masked Edit box. -Praveen

Loader.
Live Chat Icon For mobile
Up arrow icon