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

Inserting Day number into DayTemplate

5 Answers 116 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
dhlennon
Top achievements
Rank 1
dhlennon asked on 06 Aug 2008, 03:30 PM
Is it possible to define the day number into a CalendarDayTemplate? I cannot find anything in the docs to advise me. Thanks.

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Aug 2008, 11:53 AM
Hi,

One suggestion would be to place the day numbers in the Day Template your self.

Shinu
0
Cary
Top achievements
Rank 2
answered on 11 Aug 2008, 10:00 PM
For repeatable tempates, for instance one that is used every other friday for payday, the number is not always the same.. What do you do in this intance?
0
Konstantin Petkov
Telerik team
answered on 12 Aug 2008, 05:32 AM
Hello Cary,

You can use the repeatable Week option in this case:

http://www.telerik.com/help/aspnet-ajax/calendar_designradcalendardaycollectioneditor.html

Best wishes,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jan
Top achievements
Rank 1
answered on 22 Jun 2011, 02:07 PM
I have same problem - I would like to put something like

<%= Day %>

Inside DayTemplate. But you are saying that's not supported?

Thanks
0
Maria Ilieva
Telerik team
answered on 27 Jun 2011, 12:31 PM
Hello Jan,

Unfortunately this is currently not possible. You can work around that limitation by placing the day numbers in the templates yourself and hardcode the day numbers for the corresponding dates.


All the best,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Calendar
Asked by
dhlennon
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Cary
Top achievements
Rank 2
Konstantin Petkov
Telerik team
Jan
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or