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

Error while setting in ShowBusinessHours (urgent)

Asked by Akshay
10 years ago.

This is how my control looks

<DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server" Enabled="false"
HeaderFontSize="6pt"
HeaderHeight="30"
DataStartField="start"
DataEndField="end"
DataTextField="name"
DataValueField="id"
DataResourceField="resource"
DataTagFields="id, name"
Width="100%"
RowHeaderWidth="120"
EventFontSize="11px"
Days="1"
BubbleID="DayPilotBubble1"
ToolTip="false"
OnBeforeEventRender="DayPilotScheduler1_BeforeEventRender"
OnEventClick="DayPilotScheduler1_EventClick"
EventClickHandling="PostBack"
Scale="Hour"
BusinessBeginsHour="0"
BusinessEndsHour="24"
CellWidth="100">
<TimeHeaders>
<DayPilot:TimeHeader GroupBy="Hour" />
</TimeHeaders>
</DayPilot:DayPilotScheduler>

but only when i set ShowBuisnessHours="false" it throws error index out of bounds for parameter index has anyone faced same problem

Comment posted by Dan Letecky [DayPilot]
10 years ago.

I have tested this configuration with the latest release (7.8.3169) and it seems to work fine. What version are you using?

If you can still see the error with the latest version, can you please post the full exception stack trace?

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