This is a migrated thread and some comments may be shown as answers.

Special slots overlapping

7 Answers 98 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Claire
Top achievements
Rank 1
Claire asked on 27 Oct 2015, 02:02 PM

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

Sort by
0
Accepted
Kalin
Telerik team
answered on 29 Oct 2015, 09:23 AM
Hello Claire,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Claire
Top achievements
Rank 1
answered on 29 Oct 2015, 02:04 PM
Thanks.

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.

0
Kalin
Telerik team
answered on 30 Oct 2015, 07:12 AM
Hello Claire,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Claire
Top achievements
Rank 1
answered on 30 Oct 2015, 01:11 PM

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).

0
Kalin
Telerik team
answered on 03 Nov 2015, 08:27 AM
Hello Claire,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Claire
Top achievements
Rank 1
answered on 03 Nov 2015, 02:32 PM

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.

 

0
Kalin
Telerik team
answered on 04 Nov 2015, 08:03 AM
Hi Claire,

I'm glad you found a suitable solution. If you have any other questions, please let us know.

Regards,
Kalin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Claire
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Claire
Top achievements
Rank 1
Share this question
or