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

Entering 0 in datepicker will crash

1 Answer 61 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Bhavin
Top achievements
Rank 1
Bhavin asked on 10 Dec 2009, 09:00 PM

If the user manually enters "0" in the date textbox and lost focus from date picker , app crashes. 

Its seems to crash only with "0"...it does allow the "1" or "2"..or even allows the user to select a NE entry date from the calendar menu but manually delete almost the whole of it.

Error : Year, Month, and Day parameters describe an un-representable DateTime.

'

You can check in Telerik C# sample exe also. It simply crash when you enter '0' in datepicker and lost focus.

Please advice me how to solve or atleast how to stop manual entry in that control asap. We have release soon.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 14 Dec 2009, 09:52 AM
Hello, 

Thank you for the note.
We have logged this in our system and we will do our best to fix it till Friday. As a work around I can suggest making the text box of the datepicker read only, in that way you will enable the manual entry and avoid the mistake.

We apologize for the inconvenience this have caused you.


All the best,
Konstantina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Calendar
Asked by
Bhavin
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or