Hi im using special days to colour a set number of days in a radcalendar
what i would like to know is how do i get this to work if i change the number of days i would like to colour from say 7 to 3 as the full 7 days are still staying coloured when i rerun this in the method.
| while (startDate.Date <= endDate.Date) | |
| { | |
| RadCalendarDay specialDay = new RadCalendarDay(); | |
| specialDay.Date = startDate; | |
| specialDay.ItemStyle.BackColor = Color.Green; | |
| specialDay.ToolTip = "Available"; | |
| RadCalendar1.SpecialDays.Add(specialDay); | |
| startDate = startDate.AddDays(1); | |
| } |