DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » DayPilot Lite » Tow deferent EventBackColor

Tow deferent EventBackColor

-If I have more than one Event, let say 2in the same date. How can I give them two deferent colors., If it's possible. Thanks
Maher MZ - 12/23/2007 4:40:58 AM
Yes, you should handle BeforeEventRender event and change e.BackgroundColor.

A more detailed explanation can be found here:

http://www.daypilot.org/custom-event-rendering.html

A working example is in Demo/Calendar/CustomEventRendering.aspx in the DayPilot Pro download package.
Dan Letecky - 12/29/2007 3:27:00 PM
Oh, sorry, you were asking about DayPilot Lite.

BeforeEventRender is not supported in DayPilot Lite but it's not too difficult to add it to the Lite code.
Dan Letecky - 1/11/2008 9:12:54 PM
I'm mean I won't be adding it there but you can do it easily yourself.
Dan Letecky - 1/11/2008 9:13:30 PM
Post reply