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

Programatically update Appointments while in Edit mode

0 Answers 29 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Emil
Top achievements
Rank 1
Emil asked on 22 Jan 2019, 09:58 AM
We're using the RadScheduleView control in a calendar application. The application synchronizes the events shown in the RadScheduleView with the events from a given Calendar server.

The problem that we're facing is that the user could be editing an event while the synchronization updates the collection of appointments in the RadScheduleView. In this particular case we can't update the collection using BeginEdit/Commit because we'd lose the edit transcation that the user is currently using in the EditEvent window.

Alternatively, we could update the collection by removing the old appointment and adding the new one, but this causes reordering of the appointments that occur at the same time and loss of selection (e.g if the selected item is the one that we remove and then add).



What is the best way to update the collection of appointments while the window if open, either because the user is creating or editing an event, without loss of selection and/or reordering of the events that occur at the same time?

No answers yet. Maybe you can help?

Tags
ScheduleView
Asked by
Emil
Top achievements
Rank 1
Share this question
or