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

[Solved] Hide MVC Calendar Navigation Header

2 Answers 95 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Todd
Top achievements
Rank 1
Todd asked on 26 Apr 2011, 04:11 AM
Is it possible to hide the MVC Calendar nav header? To be specific, I want to show the Month/Year, but I want to hide the previous and next buttons. Any help is greatly appreciated.

2 Answers, 1 is accepted

Sort by
0
Accepted
Demon
Top achievements
Rank 1
answered on 26 Apr 2011, 07:41 AM
Hi,

you can use CSS for that:

.t-calendar .t-header .t-icon
{
    visibility: hidden;
}

If you want to hide the navigation of a specific Calendar instance only, use the instance ID instead of the .t-calendar CSS class in the selector.
0
Todd
Top achievements
Rank 1
answered on 26 Apr 2011, 02:12 PM
Just in case others need this, I added the following to the site.master page to hide just the navigation arrows in the MVC Calendar header:

 

 

 

<style>
#calendar1 .t-icon
{
     visibility:hidden;
}
#calendar2 .t-icon
{
     visibility:hidden;
}   
</style>

Thanks for the reply. Blessings to you in JESUS name!
Tags
Calendar
Asked by
Todd
Top achievements
Rank 1
Answers by
Demon
Top achievements
Rank 1
Todd
Top achievements
Rank 1
Share this question
or