Hi,
I have a MaskedEdit on a textbox to input only numbers. It works fine with the new IE and Firefox. However, it say invalid data when I enter a two or one digit number in the older Firefox V 1.0.1
Here is what happen, the mask only allows to enter upto 3 digits. So if I enter, 2 or 1 digit in the textbox will display: _12 or __8 . I think the problem is that it reads the underscore as a number. Therefore it's not valid. So how to get rid of the underscore in the mask? or is that any quick fix to this? Thank you
<asp:textbox runat="server" ID="tb_numofdays" Width="28"/>
<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender1"
runat="server"
mask="999"
AutoComplete="false"
MaskType="Number"
TargetControlID="tb_numofdays">
</ajaxToolkit:MaskedEditExtender>
<ajaxToolkit:MaskedEditValidator
ID="MaskedEditValidator1"
runat="server"
ControlExtender="MaskedEditExtender1"
ControlToValidate="tb_numofdays"
MinimumValue="0"
InvalidValueMessage="Invalid data"
IsValidEmpty="True"
TooltipMessage="Numbers Only">
</ajaxToolkit:MaskedEditValidator>