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
735
Mask issue
posted

What's the difference between below mask? The first mask can input "<" and ">", even the mask doesn't include them. The second mask works correctly, i just change the order of the  first mask.

// Can input  "<" and ">"

<igEditors:XamMaskedInput Mask="{}{char:44:0-9a-zA-Z&apos;&quot;/()!?:-,.@ }"/>  

//Can't input "<" and ">"
<igEditors:XamMaskedInput Grid.Row="1" Mask="{}{char:44:0-9a-zA-Z&apos;&quot;?:@-,./()! }"/>

Parents
  • 6365
    Offline posted

    Hello Brandon,

     

    Thank you for choosing Infragistics.

     

    I have been looking into your issue and I believe I have come up with solution that will help you achieve the functionality you want. I have attached a sample application for you to test. In particular situations the characters' permutation affects the outcome like restricting a character. I have created a XamMaskedInput, identical to the one you have provided that contains the ">" and "<" characters. Since the "-" character is a special character, when it has been added to the Mask property of the XamMaskedInput, it will automatically enable characters such as ". > < 0 1 2 ...". I have restricted the "-" character in the sample by typing the "\" character in front of it. This way the "-" character will be available, but will not include ">" and "<".

     

    If you require any further assistance on this matter, please do not hesitate to ask.

    XamMaskedInput_diff.zip
Reply Children