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

moving or resizing an appointment

1 Answer 158 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 15 Sep 2011, 10:03 PM
Hi,

I need more information after the user changed an appointment per mouse-action (ViewDefinition = Timeline).
I have three cases:
a) the user changed the start time...
b) the user changed the position of the appointment
c) the user changed the end time...

In the AppointmentEdited-event I can´t find determination to handle the three cases.
My concret problem:
When the user changed the end time (see sample from 18. Oct to 19. Oct) the AppointmentEdited-event sends:
e.Appointment.start = #10/18/2011#  (ok), and...
e.Appointment.end =   #10/20/2011#. In my scenario I´m working with "full days"  (SnapAppointments="True") and i need  #10/19/2011# as end time. Thanks in advance for your feedback.


kindly regards,
Stefan

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 21 Sep 2011, 12:40 PM
Hello Stefan,

The current version of RadScheduleView does not support a way to separate the logic by the user's action in the AppointmentEditing event.

To complete your task I suggest you provide us with more details about the scenario that you try to achieve. This will help us to provide you with more technical instructions.

At this point I can suggest you to use a custom DragAndDropBehavior to customize Drag and Resize logic. For more details please read the topic below:

http://www.telerik.com/help/wpf/radscheduleview-features-draganddrop.html

Also, you can use the ShowDalog event to write a logic which will be executed when the AppointmentEditing dialog is open.

Hope this helps.

Regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Stefan
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or