Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Is it really possible to use the MaskedEditExtender for this kind of phone numer

$
0
0

I have this textBox control  <asp:TextBox ID="txtInformerPhone" runat="server" />
This input is a telephone number and has the following restrictions.

A valid phone number must have the following requirements. First part of the phone number is either 2 figures or 3 figures or 4 figures. The second part is
either 5 figures or 6 figures or 7 figures or 8 figures or 9 figures.
So the user can enter for example 123-12345
This is valid because the first part containd 3 figures which is valid the second part contains  5 figures which is also valid.
Note the user must also enter this character - that is located between the first part and the second part.

I just wonder is it possible to use MaskedEditExtender for this testBox when I have this requirements

//Tony


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>