Inserting Day number into DayTemplate

6 posts, 0 answers
  1. dhlennon
    dhlennon avatar
    32 posts
    Member since:
    Oct 2006

    Posted 06 Aug 2008 Link to this post

    Is it possible to define the day number into a CalendarDayTemplate? I cannot find anything in the docs to advise me. Thanks.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Aug 2008 Link to this post


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

  3. Cary
    Cary avatar
    18 posts
    Member since:
    Feb 2008

    Posted 11 Aug 2008 Link to this post

    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?
  4. Konstantin Petkov
    Konstantin Petkov avatar
    1911 posts

    Posted 12 Aug 2008 Link to this post

    Hello Cary,

    You can use the repeatable Week option in this case:

    Best wishes,
    Konstantin Petkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 22 Jun 2011 Link to this post

    I have same problem - I would like to put something like

    <%= Day %>

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

  6. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 27 Jun 2011 Link to this post

    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.

Back to Top