Home Unanswered Active Tags New Question

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
Asked by Maher MZ 4 years ago.
Replies
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.
Comment posted by Dan Letecky 4 years ago.
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.
Comment posted by Dan Letecky 4 years ago.
I'm mean I won't be adding it there but you can do it easily yourself.
Comment posted by Dan Letecky 4 years ago.

How can I do it in DayPilot Lite.....?

Can anyone post the code for this?

Comment posted by Anonymous 2 years ago.

I need to for DayPilot Lite for event redering..

Comment posted by handy 5 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java