I am trying to set a custom color to my appointments, e.Appointment.BorderColor is not enough I need to set a
argb color. It worked for me with the headers but when I add e.Appointment.Attributes.CssStyle I can't find it
back in my HTML. Am I missing something?
Greeting
3 Answers, 1 is accepted
0
Boyan Dimitrov
Telerik team
answered on 18 Sep 2014, 03:23 PM
Hello,
Please review Setting styles for appointments help article that demonstrates some techniques about applying different styles for the appointment on the server-side.
Regards,
Boyan Dimitrov
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.
The attached screenshot shows where this custom class is applied.
2. To use color translator in order to convert the hex color value in System.Drawing.Color
//code behind
string hex = "#FFFFFF";
Color _color = System.Drawing.ColorTranslator.FromHtml(hex);
and use the suggested article.
Regards,
Boyan Dimitrov
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.