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

Masked Edit Control

Has anyone had any experience using the Masked Edit Control to capture an IP address? Specifically, one that is not convienently laid out as 111.222.333.444. The mask example that ships uses ###.###.###.### as a mask, but when the user is in the control, they cannot simply type 10., as the mask accounts for a 3 digit place holder. Secondly, it would be nice, if you could simply enter 10, press the '.' key and be automatically shifted to the next segment in the mask. Any thoughts?

2 Replies

SB Scott Baker October 24, 2002 10:26 PM UTC

You know, it is amazing what one will discover when you look at the documentation. Turns out that using 99#.99#.99#.99# will address the issue of not having to worry about octet-complete ip classes. However, I would still be happy to hear if anyone has run across a solution of capturing the '.' key press and advancing the cursor to the next octet in the ip address mask. Thanks all.

DJ Davis Jebaraj Syncfusion Team October 28, 2002 04:23 PM UTC

Hi, The current version of the MaskedEditBox control does not support jumping to a data entry position when a literal character (. in this case) is entered. We will take this into consideration for the next update. Thank you for your patience. Regards, Davis

Live Chat Icon For mobile
Up arrow icon