search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

BeforeCellRenderEventArgs BackgroundColor rendering in IE6

Asked by Mike
14 years ago.

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]

Comment posted by Davy
12 years ago.

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

Any ideas? Thanks!

Answer posted by Dan Letecky [DayPilot]
12 years 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";
    }
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.