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

week number

3 Answers 75 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Al asked on 06 Aug 2012, 09:33 AM
Hello!
How to do that in selected places was the week number. The format "week number/ year"?

3 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 06 Aug 2012, 03:47 PM
Hello Al,

Here is how you could change the column date headers of RadScheduler in timeline View:
<telerik:RadScheduler ID="RadScheduler1" runat="server" EnableDescriptionField="true" SelectedView="TimelineView">
    <TimelineView ColumnHeaderDateFormat="ddd yyyy"/>
</telerik:RadScheduler>

The following link to MSDN article of standard date and time format strings might be of help as well:
http://msdn.microsoft.com/en-us/library/az4se3k1.aspx.

Regards,
Ivana
the Telerik team
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 their blog feed now.
0
Al
Top achievements
Rank 1
answered on 07 Aug 2012, 07:39 AM
Hello Ivana!

ddd: This displays a three-letter string that indicates the current day of the week.
But i needed the current week number of the year.
0
Ivana
Telerik team
answered on 07 Aug 2012, 02:10 PM
Hello Al,

Take a look at the following article: http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-display-the-week-number-in-the-date-header.aspx.

Regards,
Ivana
the Telerik team
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 their blog feed now.
Tags
Scheduler
Asked by
Al
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Al
Top achievements
Rank 1
Share this question
or