Hi Team, I have searched for appropriate issue over the web for my requirement but i didn't find any.
I have a asp textbox control and ajax MaskedEditExtender control for that textbox. It should accepts only numbers and 6 characters length. the mask format is ---/---. Here is my source code for this requirement.
<asp:TextBox ID="txt1" runat="server" MaxLength="6" />
<aspajax:MaskedEditExtender ID="meeTxt1" TargetControlID="txt1" runat="server" MaskType="None" Mask="999\/999" InputDirection="LeftToRight" ClearMaskOnLostFocus="false" OnFocusCssClass="MaskedEditFocus" ></aspajax:MaskedEditExtender>
When We run this application in IE11 browser, the textbox field shows 'X' icon to clear the text. Here the problem is,
1.When we clear the text in textbox field the mask format(---/---) also gets cleared. I expected only data should be cleared but mask type should be visible to user.
2. After clearing data and if I try to enter text,
a. In my remote development machine, it accepts up-to three digits only.It should accepts upto 6 digits.(I observed that it accepts the number of digits equal to the number of digits which comes before '/' in mask format ---/---. So in this case its three.)
b. In my Local machine, I have created a webform project to replicate this issue. Here it accepts upto seven digits(I think it considers even '/' also in mask format ---/---). It should accepts only six digits.
I didn't understand why it works differently for my remote and local machines.
Any suggestions or solutions are accepted. Thanks in advance!!