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

using mask for ".net textbox"

Thread ID:





3532 Mar 27,2003 03:30 AM UTC Apr 29,2003 07:09 PM UTC WinForms 3
Tags: FAQ
Asked On March 27, 2003 03:30 AM UTC

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 01:39 PM UTC

use regular expressions

Replied On April 25, 2003 03:39 PM UTC

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 07:09 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon