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

Calendar Header Forward/Backward Buttons

2 Answers 97 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Russell Smith
Top achievements
Rank 1
Russell Smith asked on 14 Oct 2009, 07:28 PM
I have a single calendar that I want to have static.  I do not want the user to be able to move to any other month by clicking the backward or forward header buttons.  How do you remove or disable these buttons?

Thank you.

2 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 20 Oct 2009, 09:07 AM
Hello Russell,

We have implemented the HeaderVisibility for cases like this. If you use the calendar as:

<telerikInput:RadCalendar Width="300" Height="200" HeaderVisibility="Collapsed"/>

It will have no header and no navigation controls.

If you want to remove just the arrows than you will have to edit the calendar template. The problem is that than the user will be able to click the title and go from month view to year view or decade view. I have attached an example with modified template. You can use the template to modify one of our themes or edit the calendar yourself. It's quite easy in blend. The modified lines are in the MainPage.xaml near the:

<!-- Header buttons and title.. set the visibility / enabled to format them properly -->

Thanks for your interest in our controls.

Kind regards,
Panayot
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Russell Smith
Top achievements
Rank 1
answered on 20 Oct 2009, 08:47 PM
Thank you for your reply....very helpful
Tags
Calendar
Asked by
Russell Smith
Top achievements
Rank 1
Answers by
Pana
Telerik team
Russell Smith
Top achievements
Rank 1
Share this question
or