Solved

Digit's Counting

Posted on 2011-09-07
4
304 Views
Last Modified: 2012-06-27
Hi,
    I want to give range of digits count to my text box . minimum 4  Digits and Maximum 10 Digits. I tried using Range Validation but it showing Minimum Value. Could any one Help me to give  Range of Digit count Validation To My asp.Net Text Box. Thank you.
0
Comment
Question by:CPSRI
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
zvytas earned 500 total points
ID: 36494267
You can use Regular Expression validator with the following regexp:

(?:\d.*){4,10}
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36494349
1000 < value < 9999999999

will also do :)
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36494350
I meant

 1000 <= value <= 9999999999
0
 

Author Closing Comment

by:CPSRI
ID: 36494382
Thank You
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question