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

When I open the time Icon on my DateTimePicker how do I make go directly to the value is previously selected?

1 Answer 22 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Guillermo
Top achievements
Rank 1
Guillermo asked on 03 Jul 2013, 06:55 PM
What I mean is, my value in my DateTimePicker is  for example 07/03/2013 10:30 AM and when I click on the little cock Icon, the dropdownlist displays 12:00AM as the first option, and that is kind of annoying, I need it to display at 10:30AM or 10:00AM or 11:00AM, I don't want my user to scroll all the way down to change the time, is there any way we can modify this?

Thank you, 

Guillermo Sanchez

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 04 Jul 2013, 03:44 PM
Hello Guillermo,

You can set the default time value displayed in the DateTimePicker using the value() method.
dateTimePicker.value("07/03/2013 10:30 AM");


For your convenience here is a jsBin example which demonstrates a possible implementation.
 
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
Guillermo
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or