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
446
WebMaskEdit and Optional Mask fields
posted

If a mask edit position is optional, why is the user required to enter it before moving onto the next valid position? 

Example1:

<igtxt:WebMaskEdit ID="WebMaskEdit1" runat="server" InputMask="?0" />

  • Optional Character & Required Digit
  • You cannot tab into field and simply type the required Digit
    • you are REQUIRED to type the OPTIONAL letter (hmmm...)

Example 2:

        <igtxt:WebMaskEdit ID="WebMaskEdit2" runat="server" InputMask="99.99" />

  • All digits optional, but decimal is part of mask
  • You cannot simply type ".99"
    •  instead this will ignore the fact that you omitted the optional digits and you typed "."
    • This will  display "99."
  • You cannot simply type "9.99"
    • instead this will ignore the fact that you omitted the optional digits and typed "."
    • This will display "99.9"

  The ajax control toolkit works properly with thier mask edit http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/MaskedEdit/MaskedEdit.aspx

  • On the MS control, when i type a decimal point, it takes me to the decimal position

 

Is there any property that changes the way this works?

Parents
No Data
Reply Children