DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » Calendar Control Hides Events in IE7

Calendar Control Hides Events in IE7

When the page renders the control shows the events briefly, then they disappear. It is almost as if the background color paints over the events. We are experiencing this in IE7.
Panagakis - 11/13/2007 8:48:13 PM
I should have been more specific. We are working with the Calendar control in IE7.
Panagakis - 11/13/2007 8:49:19 PM
Thanks for reporting the issue.

A few more questions:
  • What DLL version do you use?
  • Does it happen with the demo as well (the online demo/the demo that comes in the package)?
  • Are there any specific conditions which trigger this behavior (i.e. is it working well in a different situation/configuration)?
  • Can you post the DayPilotCalendar declaration from your .aspx file?
Dan Letecky - 11/13/2007 9:58:41 PM

What DLL version do you use? DayPilot.dll version 3.7.2.0

Does it happen with the demo as well (the online demo/the demo that comes in the package)? Not online and not the demo.

Are there any specific conditions which trigger this behavior (i.e. is it working well in a different situation/configuration)? Yes. When on the resource view we don'tsee events. On calendar view we do see events.

Can you post the DayPilotCalendar declaration from your .aspx file?

<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>

<DayPilot:DayPilotCalendar ID="dpcAppointment" Width="100%" runat="server" OnBeforeCellRender="dpcAppointment_BeforeCellRender" DataColumnField="employee_id" DataEndField="end_ts" DataStartField="start_ts" DataTextField="client_first_nm_rating" DataValueField="appointment_id" EnableTheming="True" HeaderClickJavaScript="alert('Header with name ' + c.name + ' clicked.')" HourNameBackColor="White" ScrollPositionHour="9" TimeRangeSelectedHandling="PostBack" TimeRangeSelectedJavaScript="" ViewType="Resources" BackColor="White" BusinessEndsHour="21" EventBackColor="#AAD2EC" EventClickHandling="PostBack" HeaderFontSize="8pt" HeaderHeight="50" OnEventClick="dpcAppointment_EventClick" OnTimeRangeSelected="dpcAppointment_TimeRangeSelected" StartDate="2007-09-11" style="left: -5px; top: -382px" HeaderClickHandling="PostBack" OnHeaderClick="dpcAppointment_HeaderClick" HeightSpec="Full" OnBeforeEventRender="dpcAppointment_BeforeEventRender" CellSelectColor="#AAD2EC" HourBorderColor="Gainsboro" HourHalfBorderColor="WhiteSmoke" NonBusinessBackColor="White"></DayPilot:DayPilotCalendar>

Panagakis - 11/15/2007 10:59:10 PM
That's a known bug of that release. You can upgrade to the latest release (recommended) or fix it in the code:

Remove line 385 in DayPilotCalendar.cs:
if (HeightSpec != HeightSpecEnum.Full && HeightSpec != HeightSpecEnum.BusinessHoursNoScroll)
This will use overflow:auto style even for HeightSpec="Full" (that fixes your problem).
Dan Letecky - 11/16/2007 5:43:00 PM
Post reply