RadCalendar displays Holidays

5 posts, 0 answers
  1. Brown
    Brown avatar
    48 posts
    Member since:
    Dec 2010

    Posted 10 Jan 2011 Link to this post

    Hi,

     I am having list of holidays based on the month (in the stored procedure)... i need to display the holidays on the calendar..month wise. like jan1st new year on the date...Could you please let me know ,, how to do this.... 
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Jan 2011 Link to this post

    Hello Brown,

    You can add the holidays by creating DayTemplate dynamically which is explained in this documentation.

    Shinu.
  3. Brown
    Brown avatar
    48 posts
    Member since:
    Dec 2010

    Posted 11 Jan 2011 Link to this post

    Hi Shinu,

     That is hardcoded values.. i need to retrieve the values (holidays) from Database...Tell me how to do that?
  4. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 11 Jan 2011 Link to this post

    Hello Brown,

    If you look at item number 9 in that help topic, you will see that they add the days into the SpecialDays collection. In your case, you would read the records from SQL and then created the RadCalendarDays based on the column values, so setting the Date and adding them to the SpecialDays collection.

    I hope that helps.
  5. Brown
    Brown avatar
    48 posts
    Member since:
    Dec 2010

    Posted 15 Jan 2011 Link to this post

    Hi,

     Can you please tell me which is that topic exactly.. where i need to refer ?
Back to Top