Separate buttons (prvious and next) for date & year in raddatetimepicker control

4 posts, 0 answers
  1. Krish
    Krish avatar
    16 posts
    Member since:
    Oct 2018

    Posted 20 Nov 2018 Link to this post

    Is there any possibilities to displaying the separate buttons (prvious and next) for date & year in raddatetimepicker control? Attached image for your reference. Please check & do the needful.

    Thanks in advance.

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3412 posts

    Posted 22 Nov 2018 Link to this post

    Hello, Krish, 

    RadCalendar doesn't support exactly the same design for the navigation illustrated in the provided screenshot. However, RadCalendar provides two types of navigation that allow you to switch or jump to next/previous month: https://docs.telerik.com/devtools/winforms/calendar/features/navigation

    Note that RadCalendar has a built-in date zoom functionality which facilitates the date navigation. You can refer to the following help article

    I hope this information helps.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Krish
    Krish avatar
    16 posts
    Member since:
    Oct 2018

    Posted 22 Nov 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Hi Dess

        Thank you so much for your reply. I need the same function(switch or jump to the next/previous month) in RadDatetimepicker control. Is there any property to do this?

  4. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3412 posts

    Posted 23 Nov 2018 Link to this post

    Hello, Krish, 

    Note that RadDateTimePicker hosts the RadCalendar in the popup. You can access it and manipulate the navigation mode as follows: 

    RadDateTimePickerCalendar calendarBehavior = this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;
    RadCalendar calendar = calendarBehavior.Calendar as RadCalendar;
    calendar.HeaderNavigationMode = HeaderNavigationMode.Zoom;

    I hope it is useful for your scenario.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top