Custom next and previous buttons

2 posts, 0 answers
  1. John
    John avatar
    5 posts
    Member since:
    Sep 2016

    Posted 25 Sep Link to this post


    I have a calender wich shows 3 months and i don't want the header because it takes to much space so i set HeaderVisibility to Collapsed. But then i miss the next and previous buttons. Is there a command i can use to make my own buttons?



  2. Nasko
    Nasko avatar
    559 posts

    Posted 27 Sep Link to this post

    Hello John,

    With the current implementation of the control the logic executed from the RepeatButtons placed in the Header part of RadCalendar is internal and could not be invoked outside of RadCalendar.

    The only possible approach that we could suggest you is to get this RepeatButtons from the Template of RadCalendar and perform their click event inside the Click handlers of your Buttons. Please, check the attached sample that demonstrates that approach.

    Hope the provided information will be helpful for you.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
Back to Top