Christie Admin
Top achievements
Rank 1
Christie Admin
asked on 25 Jul 2014, 07:08 PM
Hi,
with the ScheduleView control, when we have 2 appointments which overlap each other, the control display both appointments side by side. I would like to know if it's possible to have the same bahavior when we have a special slot and an appointment which overlap each other???
Thank's
Alain
with the ScheduleView control, when we have 2 appointments which overlap each other, the control display both appointments side by side. I would like to know if it's possible to have the same bahavior when we have a special slot and an appointment which overlap each other???
Thank's
Alain
3 Answers, 1 is accepted
0
Hello Alain,
The SpecialSlot is under the Appointment, so what do you mean by displaying them side by side? If you could send us a picture illustrating this, it will be really helpful for providing you with the best approach.
Looking forward to your reply.
Regards,
Konstantina
Telerik
The SpecialSlot is under the Appointment, so what do you mean by displaying them side by side? If you could send us a picture illustrating this, it will be really helpful for providing you with the best approach.
Looking forward to your reply.
Regards,
Konstantina
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Christie Admin
Top achievements
Rank 1
answered on 28 Jul 2014, 02:26 PM
Hi Konstantina,
in a clinical context, we have to display the deleted appointments in the scheduleview control. Actually in our solution, we have 3 specialsslots kinds:
1. Closed Spots
2. Available Spots for a reservation
3. Deleted Appointments and available for a new reservation
Actually, when a user delete an appointment, we delete it and immedialty we create a specialslot with a delete status (the look is different). This way, the user can book another appointment directly at the same place.
The problem is when we have 2 differents appointments at the same time (ie: 11:00AM). Each appointments are visibles side by side (one beside the other). If we delete one appointment, as I said, we delete the appointment and we create a new specialslot wthe the delete status so in this situation, the specialslot are not visible because the slot are under the appointment.
Thank's
Alain
in a clinical context, we have to display the deleted appointments in the scheduleview control. Actually in our solution, we have 3 specialsslots kinds:
1. Closed Spots
2. Available Spots for a reservation
3. Deleted Appointments and available for a new reservation
Actually, when a user delete an appointment, we delete it and immedialty we create a specialslot with a delete status (the look is different). This way, the user can book another appointment directly at the same place.
The problem is when we have 2 differents appointments at the same time (ie: 11:00AM). Each appointments are visibles side by side (one beside the other). If we delete one appointment, as I said, we delete the appointment and we create a new specialslot wthe the delete status so in this situation, the specialslot are not visible because the slot are under the appointment.
Thank's
Alain
0
Hello Alain,
Thank you for the details.
I am afraid that you cannot change the behavior of the ScheduleView to display a Slot next to an Appointment. Those elements are rendered in different Panels, which are arranged one under each other.
However, I could suggest you another approach - once the appointment is deleted, instead of creating special slot with its information, create an appointment with different style or template, which will be arranged next to the existing one. You have the freedom to customize the appointment's look. For more information about that and some examples, please refer to the following resources:
- http://www.telerik.com/help/wpf/radscheduleview-styles-and-templates-appointment-style.html
- http://www.telerik.com/help/wpf/radscheduleview-styles-and-templates-appointment-template.html
- http://demos.telerik.com/silverlight/#ScheduleView/CustomStyles/AppointmentStyle
- http://demos.telerik.com/silverlight/#ScheduleView/CustomStyles/AppointmentTemplate - I am giving you the links for the Silverlight demos, you could find the according ones in the WPF also, once you install them: http://demos.telerik.com/wpf
Hope this helps.
Regards,
Konstantina
Telerik
Thank you for the details.
I am afraid that you cannot change the behavior of the ScheduleView to display a Slot next to an Appointment. Those elements are rendered in different Panels, which are arranged one under each other.
However, I could suggest you another approach - once the appointment is deleted, instead of creating special slot with its information, create an appointment with different style or template, which will be arranged next to the existing one. You have the freedom to customize the appointment's look. For more information about that and some examples, please refer to the following resources:
- http://www.telerik.com/help/wpf/radscheduleview-styles-and-templates-appointment-style.html
- http://www.telerik.com/help/wpf/radscheduleview-styles-and-templates-appointment-template.html
- http://demos.telerik.com/silverlight/#ScheduleView/CustomStyles/AppointmentStyle
- http://demos.telerik.com/silverlight/#ScheduleView/CustomStyles/AppointmentTemplate - I am giving you the links for the Silverlight demos, you could find the according ones in the WPF also, once you install them: http://demos.telerik.com/wpf
Hope this helps.
Regards,
Konstantina
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.