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

Calendar Control Hides Events in IE7

Asked by Panagakis
16 years ago.
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.
Comment posted by Panagakis
16 years ago.
I should have been more specific. We are working with the Calendar control in IE7.
Comment posted by Dan Letecky
16 years ago.
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?
Comment posted by Panagakis
16 years ago.

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>

Comment posted by Dan Letecky
16 years ago.
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).
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.