i have a datetimepicker with format dd.MM.yyyy.. when i have, for example, date 14.02.2011, save it and then want to enter 31.12.2011 then datetimepicker validator doesnt allow me to enter 31 because of month 02 inside, so it set automatically 29 in the datetimepicker. in this case, i have to go to change a month and then back to change a day.. is there a way to switch off this validation?
thanks beforehand
liliya.tugashkina
0
Newbie Poster
Recommended Answers
Jump to PostI'm wondering why you would want to use a keyboard, when you have a wonderfull tool like DateTimePicker.Just a few mouseclicks and your date is selected in no time!
Jump to PostWell, in that case, just use textboxes and do ALL the validation you want in your code. Happy programming. :)
All 5 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
liliya.tugashkina
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Mike Askew
commented:
Agreed.
+4
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
liliya.tugashkina
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.