Last post Jun 21, 2013 02:35 AM by Will shao - MSFT
Jun 17, 2013 12:11 PM|KCallahan|LINK
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 22.214.171.1247 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:
enter a valid zip."
Jun 21, 2013 12:05 AM|chetan.sarode|LINK
If you still feel there is an issue, report it here -
Jun 21, 2013 02:35 AM|Will shao - MSFT|LINK
Thanks for posting!
I get your code and test in my PC.I have an error :" requires a ScriptResourceMapping for 'jquery'".
I add this code in the "Application_Start(object
protected void Application_Start(object sender, EventArgs e)
Path = "~/scripts/jquery-1.7.2.min.js",
DebugPath = "~/scripts/jquery-1.7.2.min.js",
CdnPath = "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.1.min.js",
CdnDebugPath = "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.1.js"
your code works fine!
So I think you may reinstall your the least version ajax again.
If you have some qusetion,please let me know.
hope this helps!