Month - Changing event background colors
13 years ago.
I want to be able to change the background color of events depending on the data in the Month control. I am catching the BeforeEventRender event and trying to do this by setting the initial CSSClass property to month_green (in the design properties) then setting CSSClass = "month_blue" for some of the events. Nothing I have tried ever changes anything to blue. What I am seeing is that the CSSClass in <div title... becomes "month_green month_blue". Then the class inside that is still <div class = "month_green_event_inner... If I manually change the month_green_event_inner class to month_blue_event_inner using the ie developer tool then the background changes to blue for that event.
This appears to be a bug to me, but perhaps I am doing something wrong??
DayPilot