This is a migrated thread and some comments may be shown as answers.
Scheduler Colors
1 Answer 4 Views
This is a migrated thread and some comments may be shown as answers.
SDI
Top achievements
Rank 1
SDI asked on 05 Jun 2014, 04:42 PM
We allow our users to choose their colors schemes. I have not found the color property exposed for the header in the RadScheduler. We read the scheme in code behind and adjust accordingly. Can i change this fore color of the header in code-behind?



Thanks!

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 09 Jun 2014, 01:31 PM
Hi Brian,

The custom color of header in code behind could be achieved by applying different custom classes and after that use them as selectors in CSS:
C#:
RadScheduler1.CssClass = "customColor";
CSS
.customColor.RadScheduler .rsHeader {
    background: #6ac869;
    border-color: #6ac869;
}
 
.customColor.RadScheduler .rsHeader ul a {
    border-color: #6ac869;
}

You could find a sample project in the attachment.

Regards,
Magdalena
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Asked by
SDI
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or