Apply Color on selected dates

2 posts, 0 answers
  1. miral shah
    miral shah avatar
    15 posts
    Member since:
    Aug 2009

    Posted 22 Feb 2011 Link to this post

    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
  2. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 24 Feb 2011 Link to this post

    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.

    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!
  3. DevCraft banner
Back to Top