This is a migrated thread and some comments may be shown as answers.

Behavior inserting empty parts in a date...

1 Answer 18 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
John Lachuh
Top achievements
Rank 1
John Lachuh asked on 29 Jul 2009, 07:56 AM
Hi,

I have a question... what's the behavior behind the date input?
When I enter "121212" he makes 12/12/2012 of it and after that I alter the days to '00' and he converts it to '31'..
When I alter the month to '00', he changes the year 2012 into 2010...

Can I stop this behavior and let a validation stop the insertion of zero values?

Greetings,
John

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 03 Aug 2009, 09:51 AM
Hi John,

RadDateInput assists the user in date and time entry by accepting various date and time formats and tries to recognize them and convert them into valid dates. If the entry is successfully recognized, it is formatted according to the current DateFormat and DisplayDateFormat property settings and displayed to the user.
More information about validation is available in this article:
Calendar/ Validation

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
John Lachuh
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or