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

WeekGroupHeaderStringFormat not being applied

0 Answers 51 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 03 Dec 2012, 09:07 AM
Solved, was using wrong property.

Hi,

Event though I have set the WeekGroupHeaderStringFormat property to {}{0:dddd(MM/dd/yy)} it does not appear to affect the header which remains as i.e. 01 Monday. I just wish to have the names of the days displayed as Monday to Sunday without date numbers but seem to be failing, although changing firstDayOfWeek does seem to have an effect. Can anyone help?

<telerik:RadScheduleView Name="_scheduleView"
                                 AppointmentsSource="{Binding Appointments}"
                                 Grid.Row="5"
                                 Grid.ColumnSpan="2"
                                 CurrentDate="2012-10-01"
                                 NavigationHeaderVisibility="Collapsed"
                                 MinAppointmentWidth="10"
                                 MinAppointmentHeight="5"
                                 ShowDialog="RadScheduleView_ShowDialog"
                                 ToolTipTemplate="{StaticResource AppointmentToolTipTemplate}"
                                 telerik:StyleManager.Theme="Metro">
            <telerik:RadScheduleView.ViewDefinitions>
                <telerik:WeekViewDefinition FirstDayOfWeek="Monday"
                                            WeekGroupHeaderStringFormat="{}{0:dddd(MM/dd/yy)}">
                </telerik:WeekViewDefinition>
            </telerik:RadScheduleView.ViewDefinitions>
        </telerik:RadScheduleView>

No answers yet. Maybe you can help?

Tags
ScheduleView
Asked by
Daniel
Top achievements
Rank 1
Share this question
or