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

[Solved] Setting Max time in TimePicker shows 23:55 twice

1 Answer 70 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Camilo Torres
Top achievements
Rank 1
Camilo Torres asked on 14 Dec 2011, 04:59 PM
Hi,

I have two telerik TimePicker controls as StartTime and EndTime. The time format is set to 24 hours.
In Onchange event of  StartTime my EndTime minimum time will be set to  selected time of StartTime plus an Interval (for eg: 5 mins) and Max time will be 24 hour minus interval.

For example, if user selects 11:00 hrs in StartTime, the minimum of EndTime should be 11:05 hrs (as interval is 5 minutes). The max time set for EndTime should be 23:55 hrs (that is, 24:00 - 5 mins).

Here my problem is if my interval is 5 minutes then 23:55  is showing  two times as max time (see attached image "Case 1"). if I am not setting max time the 0:00 is coming as max time in EndTime (see attached image "Case 2").

Please let me know how to show 23:55 (according to interval) as max time for TimePicker control.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 16 Dec 2011, 11:53 AM
Hello Camilo,

 
Thank you for pointing this issue. I am glad to inform you that it is already addressed the fixed JS file is attached to this message. The fix will be included in the next official release of Telerik Extensions for ASP.NET MVC. As a gratitude for your involvement I have updated your Telerik points.

Best regards,
Georgi Krustev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Date/Time Pickers
Asked by
Camilo Torres
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or