Click here to Skip to main content
14,334,763 members
Rate this:
Please Sign up or sign in to vote.
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.
Posted
Updated 6-Jan-11 23:28pm
v2
Comments
Sandeep Mewara 7-Jan-11 5:31am
   
No effort
raju melveetilpurayil 7-Jan-11 8:09am
   
try to do some Google....
Rate this:
Please Sign up or sign in to vote.

Solution 4

Hi
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[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

check this Link[^] this link has same question with perfect solution.
   
Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100