When plotting multiple appointments on the single day webdayview we are seeing overlap.
we are running Version=16.2.20162.1023
Hello Derek,
I have reviewed the available properties of the control but was unable to find any options that would allow adjusting the width or preventing the overlap in your scenario. The control is part of our legacy ASP.NET toolset, for which active development has been discontinued. Therefore, preventing the overlap should be considered a limitation of the control.
Regards, Ivan Kitanov
Hi Ivan
Do you have anything else you can suggest? I'm not sure if you can see the screen shot but it seems like the control isn't calculating the width of the appoinments correctly in order to array them without overlapping them. Is there any setting for the width of the appointments that i could set? Any suggestions would be appreciated.
Thanks
You are correct it is the amount of time on the left side of the control displaying the time slot interval. Usually for shorter appointments decreasing the intervals prevents the overlap, so this is why I suggested this approach. Unfortunately, this approach would not work in your scenario, since the appointments span for multiple intervals and could be considered as a limitation of the component.
Thanks for your reply, I thought that the TimeSlotInterval set the amount of time on the left hand side of the grid, we have appointments spaning a few hours across the day.
https://ibb.co/zTxXvmh6
Currently it's set to 60 mins, which seems to be the max?
WebWeekView1.TimeSlotInterval = TimeSlotInterval.SixtyMinutes;
<ig:WebDayView ID="WebWeekView1" VisibleDays="7" WebScheduleInfoID="WebScheduleInfo2" runat="server" Height="750px" Width="3000px" TimeSlotLabelAreaVisible="false" AppointmentFormatString="<SUBJECT>" AppointmentTooltipFormatString="<LOCATION>"> <ClientEvents DblClick="OpenDailyEngagement" Initialize="fixdaily" /> </ig:WebDayView>
<ig:WebScheduleInfo ID="WebScheduleInfo2" runat="server" EnableMultiResourceView="True" ReminderFormPath="forms/Reminder.aspx" EnableReminders="false" EnableRecurringActivities="False" ActiveDayClientSynchronization="Always" EnableMultiDayEventBanner="false" EnableSmartCallbacks="false" AllowAllDayEvents="true" EnableMultiResourceCaption="false"> </ig:WebScheduleInfo>
in Page_PreRender...
case "Daily": WebWeekView1.VisibleDays = 1; WebWeekView1.Visible = true; WebWeekView1.Width = 1800; WebWeekView1.TimeSlotLabelAreaVisible = true; WebWeekView1.TimeSlotInterval = TimeSlotInterval.SixtyMinutes; WebWeekView1.ClientEvents.DblClick = "OpenDailyEngagement"; WebWeekView1.Height = 400;
Appointments overlap based on whether they exist together in a time slot. Therefore, the overlapping behavior depends on the size of the time slot. One way to overcome this issue is to use the following property – TimeSlotInterval and set it to a value that would not cause an overlap between the appointments.
Please let me know if you need any further assistance.