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

Custom next and previous buttons

1 Answer 121 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 25 Sep 2016, 10:35 AM

Hi,

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?

Thanks,

John

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 27 Sep 2016, 06:37 AM
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.

Regards,
Nasko
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Calendar
Asked by
John
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or