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

RadCalendar displays Holidays

4 Answers 166 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Brown
Top achievements
Rank 1
Brown asked on 10 Jan 2011, 10:09 PM
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.... 

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Jan 2011, 06:30 AM
Hello Brown,

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

Shinu.
0
Brown
Top achievements
Rank 1
answered on 11 Jan 2011, 02:49 PM
Hi Shinu,

 That is hardcoded values.. i need to retrieve the values (holidays) from Database...Tell me how to do that?
0
Cori
Top achievements
Rank 2
answered on 11 Jan 2011, 03:53 PM
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.
0
Brown
Top achievements
Rank 1
answered on 16 Jan 2011, 02:20 AM
Hi,

 Can you please tell me which is that topic exactly.. where i need to refer ?
Tags
Calendar
Asked by
Brown
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Brown
Top achievements
Rank 1
Cori
Top achievements
Rank 2
Share this question
or