Home Unanswered Active Tags New Question

BeforeCellRenderEventArgs BackgroundColor rendering in IE6

This may not be a big deal (as IE6 is hopefully dying out), but nevertheless I notice the following bug:

I've found that in the DayPilotScheduler1_BeforeCellRender function if you set the BackgroundColor attribute ofDayPilot.Web.Ui.Events.BeforeCellRenderEventArgs, IE6 no longer renders the horizontal lines of the rows/cells in the Scheduler. This does not happen in FireFox 3.0.11, but I'm not sure about IE7 & IE8.

[Mike]

Asked by Mike 2 years ago.
1 other person also wants an answer.
Replies

I'm having the same problem in IE and FF.

Any ideas? Thanks!

Comment posted by Davy 3 months ago.

Please check that you are setting correct CSS-style formatted color strings to e.BackgroundColor in BeforeCellRender. It doesn't accept Color object.

Example:

    protected void DayPilotScheduler1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.BeforeCellRenderEventArgs e)
    {
            e.BackgroundColor = "#ffeeff";
    }
Answer posted by Dan Letecky [DayPilot] 3 months ago.
New Reply
This reply is
Your name (optional):

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