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

How to avoid overlap appointment

7 Answers 240 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Mace
Top achievements
Rank 1
Mace asked on 13 Apr 2012, 04:46 PM
Hello,

I want to avoid the overlap appointment for manage availability resources.
Is there a way to do that or i need to use custom  apointment/ availability ?

Gat

7 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Apr 2012, 12:01 PM
Hello Gat,

We've just uploaded a code library where the needed approach is demonstrated. You can check it at the following link:
http://www.telerik.com/community/code-library/wpf/scheduleview/how-to-avoid-overlapping-appointments.aspx

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Mace
Top achievements
Rank 1
answered on 23 Apr 2012, 08:28 AM
Thanks for your responds. That is perfect for me but it is possible to do the same thing when you create the appointment by the edit appointment dialog?
0
Accepted
Yana
Telerik team
answered on 23 Apr 2012, 08:48 AM
Hi,

You should use RadScheduleView events to check for overlapping appointments when creating/editing appointments. I've attached the modified code.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Gaetan
Top achievements
Rank 1
answered on 23 Apr 2012, 09:24 AM
Thanks a lot, it's exactly that i looking for !
0
Roy
Top achievements
Rank 1
answered on 22 Nov 2015, 07:01 PM

Hello Yana,

the example that you provided, doesn't work correctly for me. When you adding appointments  and then editing in popup Window, you can still add 2 appointments in 1 cell. I'm using UI for WPF 2015 Q3. Any help would be great.

0
Rosi
Telerik team
answered on 24 Nov 2015, 07:37 AM
Hi,

Hi,
I modified the code to use AppointmentSaving event when appointment is edited instead AppointmentEdited.
Please find the modified files attached and let us know whether this helps.

Regards,
Rosi
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
Roy
Top achievements
Rank 1
answered on 24 Nov 2015, 11:34 AM

Thank you, working like a charm.

Have a nice day!

Tags
ScheduleView
Asked by
Mace
Top achievements
Rank 1
Answers by
Yana
Telerik team
Mace
Top achievements
Rank 1
Gaetan
Top achievements
Rank 1
Roy
Top achievements
Rank 1
Rosi
Telerik team
Share this question
or