Click here to Skip to main content
14,932,707 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need to validate a textbox for mobile number.

It should be accept only numeric values and values must be in between 10 to 15 digit.
Updated 6-Jan-11 23:28pm
Sandeep Mewara 7-Jan-11 5:31am
No effort
raju melveetilpurayil 7-Jan-11 8:09am
try to do some Google....

You got to write a regular expression. Try googling this[^].

Go ahead, give it a try and if you still can not make it, we'll help you further.
check this Link[^] this link has same question with perfect solution.
Based on your question Tag (ASP.NET)

I am suggesting This[^]

Try to Use Ajax FilteredTextBoxExtender. see the sample usage [^]

And finally have a look in different options in This Extender[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900