开发者

problem with MaskedEditValidator in ASP.NET AJAX

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜