Home Unanswered Active Tags New Question

How to add custom css style to event

Is it possible to set the background color for the first 15 minutes of an event, then to another color for the remainder of the time ( between start time and end time) in the BeforeEventRender event?

Asked by Anonymous 2 years ago.
Replies

You could do that by adding a custom background image using e.BackgroundImage in BeforeEventRender.

If there are just a few possible combinations you can use a static image. It would also be possible to render a dynamic image using ASP.NET page.

Comment posted by Dan Letecky 2 years ago.
New Reply
This reply is
Your name (optional):

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