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

Apply different color for each dayname

3 Answers 62 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Kumar
Top achievements
Rank 1
Kumar asked on 30 Sep 2010, 07:15 AM
Hi,

I am using RADCalander of wpf,i want to apply style(color) to type of the day.
Ex:
Sun--Red color
Mon-Blue color
Tue--Green color

Could you please help me to sort out this.Its urgent

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 01 Oct 2010, 09:38 AM
Hello Kumar,

You need to create a custom DayTemplateSelector and set it to the calendar property. Follow the example with this approach.

All the best,
Kaloyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Kumar
Top achievements
Rank 1
answered on 05 Oct 2010, 08:44 AM
Hi,

Thanks for your Reply.

Can u share any Code to create a custom DayTemplateSelector and set it to the calendar property.It will be helpful for me .



0
Kaloyan
Telerik team
answered on 06 Oct 2010, 10:06 AM
Hello Kumar,

Find the attached sample.

Greetings,
Kaloyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Calendar
Asked by
Kumar
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Kumar
Top achievements
Rank 1
Share this question
or