I have a wme control and I am setting the value to the ssn. When the ssn is 123456789 and I click insode the field the resulting value shows up as 123-56-89. Why are some of the digits being overwritten by the mask.
Hello,
I am trying to reproduce the problem, unfortunately to no avail... when I get text with the property WebMaskEdit1.Text I do not have overriden numbers. Could you please send a little bit more information about the WebMaskEdit declaration - this will surely provide additional clues. ASPX declaration, code-behind - anything that can get us started is welcome.
The problem is not when I try to get the value, that works fine. My issue is when I use the mask edit for DISPLAY purposes. When I set the value in the masked edit the literal characters always override the charcters in the value. For example set the MASK in the masked edit to xxx-xx-xxxx. Not set the value as 123456789. The value displays as 123-56-89 not 123-45-6789.
Please, look the screenshot. You can see my declaration of WebMaskEdit and the result in Firefox 2.0. If this doesn't help, please provide additional information about your declaration of WebMaskEdit.