开发者

problem with MaskedEditValidator in ASP.NET AJAX

开发者 https://www.devze.com 2022-12-19 03:25 出处:网络
I have text box to enter a phone number. I\'m using AJAX MaskedEditExtender and MaskedEditValidator to validate the phone.

I have text box to enter a phone number. I'm using AJAX MaskedEditExtender and MaskedEditValidator to validate the phone.

I have no problem with mask but the problem nothing happen when I enter for ex开发者_运维百科ample only 3 number then lose the focus but as soon the focus on I will see the error message and it will disappear as soon as I write one number.

all what I want to get the error message if the user did not enter 9 numbers after lose the focus.

here is my code:


I missed to assign some of the MaskedEditValidator property which is extender to validate.

0

精彩评论

暂无评论...
验证码 换一张
取 消