Hello
There is no built-in option to achieve such an automatic value change. By design, such manipulation of the value assigned is not recommended behavior for an UI component.
However, as a custom solution, you can use the widget's events to detect the opening of the Time Popup (http://docs.telerik.com/KENDO-UI/api/javascript/ui/datetimepicker#events-open), parse the currently selected value, round it via JS approach (this Stackoverflow thread would be useful—http://stackoverflow.com/questions/4968250/how-to-round-time-to-the-nearest-quarter-hour-in-javascript) and finally, assign the result from the round operation to the DateTime input (http://docs.telerik.com/KENDO-UI/api/javascript/ui/datetimepicker#methods-value).
Regards,
Ianko
Telerik
,There is no built-in option to achieve such an automatic value change. By design, such manipulation of the value assigned is not recommended behavior for an UI component.
However, as a custom solution, you can use the widget's events to detect the opening of the Time Popup (http://docs.telerik.com/KENDO-UI/api/javascript/ui/datetimepicker#events-open), parse the currently selected value, round it via JS approach (this Stackoverflow thread would be useful—http://stackoverflow.com/questions/4968250/how-to-round-time-to-the-nearest-quarter-hour-in-javascript) and finally, assign the result from the round operation to the DateTime input (http://docs.telerik.com/KENDO-UI/api/javascript/ui/datetimepicker#methods-value).
Regards,
Ianko
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!