Declined
Last Updated: 16 Feb 2024 19:44 by ADMIN
kieran
Created on: 10 Jan 2023 00:45
Category: TimePicker
Type: Bug Report
0
Timepicker with Nullable Datetime doesnt set Date element

Hi there.

Selecting a time from the TimePicker sets the time.  However, if the bound parameter is null, the Date part of the DateTime values are still invalid and will throw errors when saving data to databases.

The TimePicker should at least by default insert a default valid Date even if it is 01/01/1900 or DateTime.Today.

Regards Kieran.

 

2 comments
ADMIN
Dinko | Tech Support Engineer
Posted on: 16 Feb 2024 19:44

Hello Kieran,

The feedback item status is changed to Declined due to inactivity.

Regards,
Dinko | Tech Support Engineer
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.

ADMIN
Dinko | Tech Support Engineer
Posted on: 13 Jan 2023 11:31

Hello Kieran,

If I have correctly understood your case, you are using RadDateTimePicker. Am I right? In this case, you can consider using the NullableValue property. More information can be found in the Set null or empty value help article in our documentation. Give it a try and let me know if this is what you are looking for. If not, you can share some more details regarding your set-up so that I could think of a suitable solution.

Regards,
Dinko | Tech Support Engineer
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.