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

3 posts, 0 answers
  1. Bhuvanesh
    Bhuvanesh avatar
    6 posts
    Member since:
    Mar 2018

    Posted 01 Mar 2018 Link to this post

    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. Bhuvanesh
    Bhuvanesh avatar
    6 posts
    Member since:
    Mar 2018

    Posted 01 Mar 2018 in reply to Bhuvanesh Link to this post

    SOLVED by adding TimeInterval = 0:0:0
  3. Dinko
    Admin
    Dinko avatar
    874 posts

    Posted 05 Mar 2018 Link to this post

    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.
Back to Top