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

DayNameFormat set to Short sets strange column widths?

2 Answers 36 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 27 May 2011, 09:49 AM
I've just started to use the RadCalendar control on my page and wanted to change the day header text from MTWTFSS to Mon, Tue, Wed etc so I set the DayNameFormat property to "Short". This has done what I expected, but now the columns are all different sizes?

Does anyone else experience this, or know how to fix it?

I've attached my code and a screen shot to highlight the issue...
 
<telerik:RadCalendar 
    id="DatePicker1" 
    runat="server" 
    Skin="Black" 
    EnableMultiSelect="False" 
    Width="400"
    FirstDayOfWeek="Monday"
    >
</telerik:RadCalendar><br />
<br />
<telerik:RadCalendar 
    id="DatePicker2" 
    runat="server" 
    Skin="Black" 
    EnableMultiSelect="False" 
    Width="400"
    FirstDayOfWeek="Monday"
    DayNameFormat="Short"
    >
</telerik:RadCalendar>

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 27 May 2011, 10:26 AM
Hello Karl,

Try overriding the default CSS like below.

CSS:
.RadCalendar_Black .rcRow td
       {
           width:30px !important;
       }

Thanks,
Princy.
0
Karl
Top achievements
Rank 1
answered on 27 May 2011, 02:28 PM
Thanks Princy...
Tags
Calendar
Asked by
Karl
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Karl
Top achievements
Rank 1
Share this question
or