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.
Unfortunately, activation email could not send to your email. Please try again.

using mask for ".net textbox"

Thread ID:





3532 Mar 26,2003 10:30 PM Apr 29,2003 03:09 PM Windows Forms 3
Tags: FAQ
Asked On March 26, 2003 10:30 PM

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

Replied On March 27, 2003 08:39 AM

use regular expressions

Replied On 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

Ramesh Praveen [Syncfusion]
Replied On April 29, 2003 03:09 PM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.