By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,983 Members | 2,035 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,983 IT Pros & Developers. It's quick & easy.

How to put Input mask in text box

P: 14
Hello.Did anyone here know how to put an input mask to a textbox. for example only a phone number must be inputted like '(063) 123-4567' do I need to code this one?
Jan 3 '08 #1
Share this Question
Share on Google+
3 Replies


Expert 5K+
P: 8,434
Hello.Did anyone here know how to put an input mask to a textbox. for example only a phone number must be inputted like '(063) 123-4567' do I need to code this one?
The simplest way is to use the MS Masked Edit Control rather than the textbox control. I believe you first need to add to your project a reference to this control.
Jan 3 '08 #2

P: 14
Thanks a lot.It works!!
Jan 3 '08 #3

Expert 5K+
P: 8,434
Thanks a lot.It works!!
Glad we could help. :)
Jan 4 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.