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

moving Appointment programmatically

2 Answers 103 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Kairat
Top achievements
Rank 1
Kairat asked on 15 Aug 2011, 04:24 AM
Hallo!

Please, help!
How to shift or move existed appointment pragmatically.

2 Answers, 1 is accepted

Sort by
0
Mike
Top achievements
Rank 1
answered on 15 Aug 2011, 06:23 AM
I would call the CollectionChanged event, Check the event argument ActionName for a value of "Moved" and on that Event update your data. I have not tested this, but in theory it should be ok. If anyone else has a better way please chime in!

Thanks,
Mike
0
Stefan
Telerik team
answered on 17 Aug 2011, 01:36 PM
Hi Kairat,

Thank you for writing.

I assume that you need to modify an existing appointment. If this is the case, you can access all appointments from the Appointments collection of RadScheduler and once you get the desired appointment, you can modify its settings. Here is an example of modifying the start time of the first appointment:
radScheduler1.Appointments[0].Start = DateTime.Now.AddHours(-2);

I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
 
Best wishes,
Stefan
the Telerik team

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

Tags
Scheduler and Reminder
Asked by
Kairat
Top achievements
Rank 1
Answers by
Mike
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or