We are planning to use the ScheduleView for showing appointments and also a host of other events such as lunch times, sick days, meetings, etc. I understand that for the latter, I would use the special slot mechanism. However, I have the requirement that these special slots should be able to overlap, even cover, each other.
My search in this forum regarding this seems to suggest that it is not possible (though some old posts mention a z-order property that might be use for that).
Can you confirm whether it is possible or not, or can you suggest a way to achieve this.
Thanks.
7 Answers, 1 is accepted
It is possible to overlap the special slots, however indeed you would need to set the Panel.Zindex property for the different Slot types.
Hope this helps.
Regards,
Kalin
Telerik
We would then need to assign a priority to each type based on some criterion. I will take a look at it.
In the meanwhile, I had started to implement our "special slots" as different types of appointment and having them displayed side by side. While that works, it brings some other issues. But that's another story.
Can you please some more details regarding the exact issues you have faced? If you manage to isolate the issues in sample project and send it to us - we will be glad to investigate them on our side and provide further assistance.
I'm looking forward to hearing from you.
Regards,
Kalin
Telerik
The special slots cannot be used as one could completely cover the other, thus making the latter invisible to the user. We would need to have them displayed side by side, as can be done with appointments.
I have started a new thread concerning the issues I mentioned since they have nothing to do with the subject of this thread (but I believe I found a solution to said issues).
What I can suggest you would be to implement one additional special Slot Style containing both of the needed colors. This way depending on the custom logic you could return that Style in the StyleSelector for the overlapped slots.
Hope this helps.
Regards,
Kalin
Telerik
Thanks for your suggestion.
I realize that my original post may have been incorrectly or incompletely formulated. Our "special slots" represent events that may be simultaneous, and they must be not only visible but also accessible, i.e. the user must be able to select any of them in order to edit it. That would be hard to achieve with the "special slot" mechanism, but if we define these events as another type of appointment (besides the "real" appointments), that solves the issue.
I'm glad you found a suitable solution. If you have any other questions, please let us know.
Regards,
Kalin
Telerik