I just recently downloaded the June 2013 version of the toolkit. Now validation of any field that uses a MaskedEditExtender no longer works in my application. This would be specifically for zip and phone number masks. The code worked fine with a previous version of the toolkit v 3.5.50927.0 that we were utilizing. I have tried using both dlls 4.1.7.607 and 3.5.7.0607 for the most recent release and get the same result. I'm using VS 2010. I have also tried using the MaskedEditValidator instead of the regular expression and get the same result. Using zip code as an example for discussion, I always receive the error message from the reg expression validator regardless of whether or not the data entered is valid. 99999 zip entry now fails as well as 99999-9999. I am seeing the same type result for my phone number validation using masked edit "999-999-9999" where valid values are failing. When I remove the MaskedEditExtender from my page, the validation works.
Has anyone else encountered this issue and what was the workaround? Is there something different I need to do to get the code to work correctly with the newer version of the toolkit? This version has fixed another issue i was having with AsyncFileUpload.
As an example, my code for Zip code that no longer works with the newer version:
<asp:TextBoxID="txtZip"runat="server"CssClass="FormField"Width="75px"></asp:TextBox>
<asp:RequiredFieldValidatorID="rfvZip"runat="server"SetFocusOnError="true"ControlToValidate="txtZip"ErrorMessage="Zip is required"ValidationGroup="ValidateInstitution"></asp:RequiredFieldValidator>
<ajax:MaskedEditExtenderID="meeZip"runat="server"Mask="99999-9999"TargetControlID="txtZip"MessageValidatorTip="true"MaskType="None"ClearMaskOnLostFocus="true"/>
<asp:RegularExpressionValidatorID="revZip"runat="server"ControlToValidate="txtZip"SetFocusOnError="true"ErrorMessage="Please enter a valid zip."ValidationExpression="^[0-9]{5}([- /]?[0-9]{4})?$" ValidationGroup="ValidateInstitution"></asp:RegularExpressionValidator>