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

RadCalender/Special days/Cellpadding & Cell spacing

1 Answer 49 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
amith
Top achievements
Rank 1
amith asked on 26 Jul 2008, 08:24 AM
Hi,
I am using Rad calender-special day view. I am trying to apply some styles. could you please let me know how to add cell padding and cell spacing for the cells of the calender?

Thank you.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 28 Jul 2008, 12:17 PM
Hi Amith,

You can add cell spacing to the Calendar control like this:

<telerik:RadCalendar DefaultCellSpacing="..." />

As for the cell padding, you can set it for all cells like this:

<telerik:RadCalendar DefaultCellPadding="..." />

or just for a special day's cell like this:

ASPX

    <SpecialDays>
        <telerik:RadCalendarDay Repeatable="Today" Date="">
            <ItemStyle CssClass="paddedStyle" />
        </telerik:RadCalendarDay>
    </SpecialDays>

CSS

table  td.paddedStyle
{
    padding: ..... ;
}


Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
amith
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or