Unplanned
Last Updated: 05 Jan 2026 13:13 by ADMIN
Eric
Created on: 05 Jan 2026 10:53
Category: DatePicker
Type: Bug Report
0
when value is empty (1/1/00000) the control display 1/1/2001

When I have a DatePicker and it's DateOnly value is default, the control displays 1/1/2001 instead of either nothing, a placeholder, or the correct value.

The image above shows the DatePicker value and the current value in the model underneath.

 

Please advise.

1 comment
ADMIN
Dimo
Posted on: 05 Jan 2026 13:13

Hello Eric,

Indeed, the current behavior isn't right. It's related to a sub-optimal default value check in our C# code and the default inability for the JavaScript Date object to create an instance with a year value below 100.

I am converting your ticket to a public bug report and awarding you some Telerik points. In the meantime, consider the following workarounds:

  • Use a nullable DateOnly value. Non-nullables without an explicit default value usually don't make sense for dates.
  • Use a non-nullable DateTime value.

I hope at least one of them is acceptable and easily applicable. Please excuse us for any extra effort.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.