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

use regular expressions


SA Sameer 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


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

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

Loader.
Up arrow icon