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

RadCalendar Q3 2008 remove individual navigation buttons not working

2 Answers 81 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
aozora
Top achievements
Rank 2
aozora asked on 09 Feb 2009, 08:49 AM
Hi all, i'm currently using RadControls for ASP.NET AJAX Q3 2008 version 2008.3.1314.35

According to the documentation (which works when i was using Q1 2008 version):

If you do not want to remove all the navigation buttons using the EnableNavigation property, you can remove any of the individual navigation buttons from the title bar by setting both its image property and its text property to an empty string.

But it doesn't work on Q3 version.. When i set the EnableEmbeddedSkins = false, it's working properly, but i still need the skin..
Anyone can help me with this problem?

Regards,
Khonato

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 10 Feb 2009, 09:48 AM
Hello Khonato,

For Q3 2008 we changed the RadCalendar rendering, so the previous approach is not applicable in all scenarios. Soory about the misleading documentation.

Now you can hide a certain navigation button like this:

<telerik:RadCalendar CssClass="MyCalendar" />

CSS

.MyCalendar  .rcFastPrev
{
    display:none !important;
}


The navigation buttons have the following CSS classes

.rcFastPrev
.rcPrev
.rcNext
.rcFastNext


Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
aozora
Top achievements
Rank 2
answered on 11 Feb 2009, 06:08 AM
it works now, Q3 2008 css class is quite fun, i've tried a couple of tricks like clearing the border:

        .MyCalendar .rcMain
        {
            border:none !important;
        }

thank you very much for the explanation!

best regards,
Khonato
Tags
Calendar
Asked by
aozora
Top achievements
Rank 2
Answers by
Dimo
Telerik team
aozora
Top achievements
Rank 2
Share this question
or