IE does not show correct BackgroundColor from BeforeEventRender

Asked by Roffsan
13 years ago.

I'm using a pretty basic installation of the latest DayPilot and I'm not getting BackgroundColor to work in Internet Explorer 9.0.

It works fine in Chrome but not IE.

protected void DayPilotScheduler1_BeforeEventRender(object sender, BeforeEventRenderEventArgs e)
{
if (e.ResourceId == "0")
{
e.BackgroundImage = "";
e.BackgroundRepeat = "";
e.BackgroundColor = "ff0000"; //red
}
}

The CSS (green - standard) is shown instead.

Comment posted by Roffsan
13 years ago.

Badly copied source-code deleted the hash - this is how it looks like;

if (e.ResourceId == "0")
{
e.BackgroundImage = "";
e.BackgroundRepeat = "";
e.BackgroundColor = "#ff0000"; //red
}

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.