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

Apply Color on selected dates

1 Answer 138 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
miral shah
Top achievements
Rank 2
miral shah asked on 22 Feb 2011, 12:14 PM
Dear Telerik,


I m using rad calender control. I m having specific schedule on which there is selection of dates in rad calender control. Now on those  selected date i want to have custom color according to color button which has been pressed. if it is press all selected dates get colored on load time or if it pressed after loading then on any selection of date by user that date have that color.

I hope you understand my view point or requirement.Kindly advice appropriate solution.

Thanking you,
Miral Shah

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 24 Feb 2011, 10:14 AM
Hello miral shah,

You have to set a custom DayButtonStyleSelector or DayTemplateSelector that will reload a particular style for the calendar button in case of a selection. Check a similar example in our online demo.

Greetings,
Kaloyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Calendar
Asked by
miral shah
Top achievements
Rank 2
Answers by
Kaloyan
Telerik team
Share this question
or