Click here to Skip to main content
13,150,622 members (44,158 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Plz help me how to validate a masked textbox for an ip address like this ###.###.###.###? how can i enter without having to enter it as
Posted 31-Jan-13 8:02am
JemiM 31-Jan-13 14:07pm
please put a nice heading for the question.
Sergey Alexandrovich Kryukov 31-Jan-13 14:09pm
Also, Tag your UI library or application type. And, no matter how you do it, you always need to enter or select those integers, isn't that obvious?
Tag the UI you use; and you will get help almost immediately.
Dave Kreskowiak 31-Jan-13 20:59pm
You neeeeeeeed to GROW UP and stop using childish language and txtspeak. You've got full keyboard in front of you. Use it! If you want people to take you seriously, you'll do this.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I wouldn't use a masked edit box for this - they are really only usefull for fixed input format, not flexible ones as you need.
Instead, I would use a standard TextBox and a regex to validate it:
Sergey Alexandrovich Kryukov 31-Jan-13 14:10pm
It's only OP thinks that validation is needed, but really it's about a masked text box or other input method...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170924.2 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100