Home Unanswered Active Tags New Question

Row Header Image

I want to put an image in the row header each row will have a different image.

Can someone tell me why the code belowworks in DayPilot Lite but not in the Full version?

DayPilotScheduler1.Resources.Add("<img src='images/myimage.png' width='32' height='32' />", "Z");

Regards,

LG

Asked by LG 2 years ago.
Replies

The Scheduler in the Pro version automatically applies HtmlEncode() to Resource names.

If you need to modify the resource header HTML, you should handle BeforeResHeaderRender event and change e.InnerHTML (the unencoded Resource name is available as e.Name).

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