Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Use XamWebMaskedEditor to enter an IP address
posted

I would love to be able to use the masked editor for entry of an IP address. I set the mask to "999\.999\.999\.999". That requires the user to enter all three digits in order to work which does not make for a good user experience. I found an example for WPF, but it did not seem to work in Silverlight.

Has anyone found a way to make this work?

Parents
  • 760
    posted

    Hello Jim,

    I'm not sure how you expect the control to work.  The mask "#" is used when a numeric symbol is required. The mask "9" is used when the numeric symbol is optional (it's not required).

    In your example the masked editor doesn't require entering any numbers, all numbers are optional.

    About the navigation between the numeric sections, you can use the property - TabNavigationMode="NextSection". By default it is "NextControl".  When you set TabNavigationMode="NextSection" and  press the Tab, the caret will move to the next section.

    Regards, 

      Doychin Dochev

Reply Children
No Data