Calendar Header Forward/Backward Buttons

3 posts, 0 answers
  1. Russell Smith
    Russell Smith avatar
    6 posts
    Member since:
    Oct 2009

    Posted 14 Oct 2009 Link to this post

    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. Pana
    Admin
    Pana avatar
    748 posts

    Posted 20 Oct 2009 Link to this post

    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.
  3. DevCraft banner
  4. Russell Smith
    Russell Smith avatar
    6 posts
    Member since:
    Oct 2009

    Posted 20 Oct 2009 Link to this post

    Thank you for your reply....very helpful
Back to Top