Hi,
We are using 16.2 version and using an UltraDayView bound to an UltraCalendarInfo. The problem we are facing is that there are appointments that are being shown overpaled. We'd like to show one appointment by row when the starting time of next appointment is equal or gretar than the end time of the previous appointment. You can see from the attached image how appointments are being shown. We want this to appear on appointment by line:
1) 15:00 - 15:06 - MARCADA
2) 15:06 - 15:15 - MARCADA
3) 15:15 - 15:24 - MARCADA (this one appears already correct, in on line)
...
There should only overlap if end time of the appointment is breater than the start time of next appointment. How can we achieve this? Should we crate a filter? How?
Thanks.
Hi Franciso,
Appointments overlap based on whether they exist together in a time slot. Therefore, the overlapping behavior depends on the size of the time slot. We chose to implement it this way as the behavior is designed to be similar to Microsoft Outlook.
If you would like to see this behavior in a future version, I recommend submitting this as a new product idea: http://ideas.infragistics.com/forums/192359-windows-forms.
Please let me know if you have any questions.
Hi Mike,
Attached goes a sample that reproduces our issue. You have four appointments that never overlaps in dates but have different sizes. Has you can see, also from attached image, this appoitments appears overlaped in schedule control. The TimeslotInterval is set to five minutes. If we set it to one minute there are no overlap but the size of each appointment becomes too big. We needed the same behaviour for different timeslotIntervals that the appointments shouldn't be overlaped.
I'll prepare a mock-up for you to see what's the problem and if it's possible to resolve bulding a creation filter.
It's strange you don't have this requirement on win schedule control by default, because I don't think we're just the one's that have appointment objects that could have variable periods of time instead of fixed ones, like always 10min. We using this controls to rebuild a booking appointment assistant and the times are schedule to the minute. We can't change the times to get fized periods of times. We can have an appointment that starts at 15:00 and ends at 15:06, followed by another at 15:06 to 15:09 and so on. What we need was that this appointments appeared one after another since they don't overlap in time and we seem to not getting that to work. That is a very big fault and we can't use win schedule like this. It's the only thing that we needed to get all requirements done.
I can assist with specific questions related to building a creation filter. Are you able to provide a mock-up of how you would like the final UI to look? If you can provide a mock-up, I may be able to provide some creation filter code for you.
I do want to caution you that modifying the control in this way using a creation filter may be tricky, as it will be necessary to manage the positioning of all the time slots with custom code. If there is any possibility to modify the appointments themselves to round to the nearest 15-minute interval, this method would be preferred.
Changing the height doen'st seems to do nothing in this case. It only reduces text size not all appointment.
Limiting appoints to thirty minutes slots it's not an option, because this is loaded from database and start/end times cannot be changed and they could go from 3 minutes to 30 minutes.
The only option seems to go for the creation filters. Do you have any example to achieve this?