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

Date format in header

6 Answers 206 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paolo
Top achievements
Rank 1
Paolo asked on 05 Aug 2013, 02:35 PM
Hi,
I'm trying to use for the first time Rad Scheduler and " can't understand  how modify the hedear bar.  In first header bar I'd like to have just the name of the month in the second row the number of the day (to_be.png). At the moment the date format in two bars is the same (as_is.png).

I mean that I should change something in this instaction, but I didn't find the right way
 <TimelineView UserSelectable="true" GroupBy="" GroupingDirection="Vertical" HeaderDateFormat="dd">

Any idea ?

Thanks in advance.

Paolo

6 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 08 Aug 2013, 02:15 PM
Hi,

 
You can achieve it by using the "HeaderDateFormat="MMMM"" property of RadScheduler that will show the start and the end of the visible area as for example it is done in this on-line demo..

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Paolo
Top achievements
Rank 1
answered on 30 Aug 2013, 12:26 PM
Hi,
thanks for your replay but unfortunately I think that I can't use that property because my version (Runtime Version: v2.0.50727; Version: 2008.2.723.35) doesn't support HeaderDateFormat and I can't update version for compatibility reasons. In this version, with HeaderDateFormat  both first and second row of the header change their format.
I don't know if JQuery could be a solution ... at the moment it doesn't work.
Any ideas?

Thanks

0
Paolo
Top achievements
Rank 1
answered on 02 Sep 2013, 06:54 AM
To understand what properties do, I tryed to set the format ',MMMM, yyyy', but the output is like "As_is" picture.



<telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="TimelineView"
            Width="100%" RowHeaderWidth="52" DayEndTime="19:00:00" HeaderDateFormat="MMMM, yyyy"
            DataKeyField="NA_Days_ID" DataSubjectField="Status_Day"
            DataStartField="Date" DataEndField="Date" OverflowBehavior="Expand"
            OnNavigationComplete="RadScheduler1_NavigationComplete"
            StartEditingInAdvancedForm = "false"
            OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"  OnFormCreated="RadScheduler1_FormCreated"
            OnAppointmentCommand = "RadScheduler1_AppointmentCommand"
 MonthColumnHeaderDateFormat="MMMM, yyyy"
LastDayOfWeek="Sunday"
 WeekColumnHeaderDateFormat="MMMM, yyyy"
 WeekView-ColumnHeaderDateFormat="MMMM, yyyy"
WeekHeaderDateFormat="MMMM, yyyy" MonthHeaderDateFormat="MMMM"
MonthView-ColumnHeaderDateFormat="MMMM, yyyy" MonthView-HeaderDateFormat="MMMM, yyyy"
TimelineView-HeaderDateFormat="MMMM, yyyy" WeekView-HeaderDateFormat="MMMM, yyyy">
Any ideas?
Thanks,

p
0
Plamen
Telerik team
answered on 03 Sep 2013, 05:51 AM
Hi,

 
It looks like that header formatting is not yet supported in the version of RadScheduler that you use so in order to have it working I will kindly recommend you to upgrade with a later version of RadControls.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Mo
Top achievements
Rank 1
answered on 15 May 2015, 07:39 PM

How do i change Calendar Event header to Spell out the full name of the month. Like June and not Jun.

Thank you 

 

0
Plamen
Telerik team
answered on 18 May 2015, 06:19 AM
Hi,

You can set the  HeaderDateFormat property of the selected view to "MMMM". Hope this will help you solve the issue.

Regards,
Plamen
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Paolo
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Paolo
Top achievements
Rank 1
Mo
Top achievements
Rank 1
Share this question
or