Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I have a issue for a Textbox validation. In my project I have to enter Working Days from '1 to 31' & when user click for 32 Textbox can't accept this integer it means i have to disable integer's from 32 onwards. How it is possible in asp.net.

I have used Javascript & Range Validator for this but it is not working. Provide me a solution.


Thanks in advance ...
Posted
Comments
Nelek 12-Apr-14 4:26am    
Your validation would take 31.Februar as correct, you should map the upper limit to which month it belongs.
Shashank K 12-Apr-14 5:01am    
I am new in asp.net. Please provide me a code how i map the upper limit for a particular month.
Nelek 12-Apr-14 12:19pm    
This is not how CP usually works. Most important goal here is to learn and help learning.
You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc.
Please have a look to What have you tried?[^] to see a good explanation about what I mean.
Don't forget people here don't get payed. And besides, if we give you a ready-to-go solution, it is not going to help you because you are not going to learn anything from it.

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