Comment posted by Maxime
15 years ago.
I tried something simple, it works:
protecte void DayPilotScheduler1_BeforeEventRender(object sender, DayPilot.Web.Ui.Events.BeforeEventRenderEventArgs e)
{
e.innerHTML= "<div><div style=\"background-color:Silver>Text Silver</div><div style=\"background-color:Blue>Text Blue</div></div>";
}
Comment posted by Dan Letecky
15 years ago.
Yes, that's the best solution. Thanks for posting it.
BeforeEventRender + e.InnerHTML is the most powerful way to change the events (add icons, background images, links, etc.). The only limitation is the hardcoded padding (about 2px) but you can change it easily in the source code.