Solved

Digit's Counting

Posted on 2011-09-07
4
294 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now