Click here to Skip to main content
14,329,627 members
Rate this:
Please Sign up or sign in to vote.
See more:
Mobile Number Textbox1

in that mobile number if user type the mobile number start with 0 and user does not type 10 digit mobile number completely.

1 st Example

Mobile Number 0

2nd example;
Mobile Number 9840567

that time user click the insert button i want to show the message"Enter Correct Mobile Number";

how to do in with c sharp .help me.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

This can be done using javascript:
Check below links:

Advanced Validation:

Please note: All the links work for Indian mobile numbers only.

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