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

DateTime picker ClockItemsSource doesn't show the time span 23:00:00

2 Answers 87 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Bhuvanesh
Top achievements
Rank 1
Bhuvanesh asked on 01 Mar 2018, 09:34 AM

DateTimePicker ClockItemsSource doesn't show the time span 23:59:59 the Time popup shows upto 22:00:00

 

 RadDateTimePickerObj.ClockItemsSource = new List<TimeSpan> {
                new TimeSpan(0,0,0),              new TimeSpan(1, 0, 0),                new TimeSpan(2, 0, 0),            new TimeSpan(3,0,0),                new TimeSpan(4,0,0)
                ,new TimeSpan(5,0,0),new TimeSpan(6,0,0),new TimeSpan(7,0,0),new TimeSpan(8,0,0),new TimeSpan(9,0,0),new TimeSpan(10,0,0)
            ,new TimeSpan(11,0,0)
            ,new TimeSpan(12,0,0),new TimeSpan(13,0,0),new TimeSpan(14,0,0),new TimeSpan(15,0,0),new TimeSpan(16,0,0),new TimeSpan(17,0,0),new TimeSpan(18,0,0),new TimeSpan(19,0,0),
            new TimeSpan(20,0,0),new TimeSpan(21,0,0),new TimeSpan(22,0,0),new TimeSpan(23,59,59)
            };

2 Answers, 1 is accepted

Sort by
0
Bhuvanesh
Top achievements
Rank 1
answered on 01 Mar 2018, 10:30 AM
SOLVED by adding TimeInterval = 0:0:0
0
Dinko | Tech Support Engineer
Telerik team
answered on 05 Mar 2018, 12:31 PM
Hi Bhuvanesh,

We are happy to hear that you manage to found a solution for your case. If you have any other questions you can open a new thread with your questions inside.

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
DateTimePicker
Asked by
Bhuvanesh
Top achievements
Rank 1
Answers by
Bhuvanesh
Top achievements
Rank 1
Dinko | Tech Support Engineer
Telerik team
Share this question
or