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

calendar week day format, Mon, Tues to M, T

3 Answers 75 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
felix
Top achievements
Rank 1
felix asked on 16 Dec 2010, 11:44 AM
Hi there, is it possible to change the Mon Tue Wed Thu Fri Sat Sun headers to M T W T F S S ?

To fit in with our design

Many thanks

Felix

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 20 Dec 2010, 04:14 PM
Hi felix,

This can be achieved by the AbbreviatedDayNames property of the current culture. Follow the code:
 
radCalendar.Culture = new CultureInfo("en-US") { DateTimeFormat = new DateTimeFormatInfo { AbbreviatedDayNames = new string[] { "M", "T", "W", "T", "F", "S", "S" } } };

All the best,
Kaloyan
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
felix
Top achievements
Rank 1
answered on 21 Jan 2011, 06:14 PM
Thanks for your reply, I take it there is no way to do it in XAML?

Thanks!

Felix
0
Accepted
Valeri Hristov
Telerik team
answered on 22 Jan 2011, 01:32 PM
RadCalendar uses the day names from the specified CultureInfo, which cannot be specified in XAML.

All the best,
Valeri Hristov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Calendar
Asked by
felix
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
felix
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or