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

Deleteing an Appointment

3 Answers 48 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Troy
Top achievements
Rank 1
Troy asked on 26 May 2011, 03:01 PM
What is the easiest way to allow the deletion of appointments without using an editable collection?

3 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 26 May 2011, 04:38 PM
Hello Troy,

I am not sure that I understand your question - you always need to use ObservableCollection<T> as AppointmentsSource for RadScheduleView because of a bug in the Silverlight and the WPF ListCollectionView classes.

Greetings,
Valeri Hristov
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Troy
Top achievements
Rank 1
answered on 26 May 2011, 04:42 PM
Well, I happen to be using a ReadOnlyObservableCollection<T> instance. The built in delete button does nothing in this scenario though.
0
Valeri Hristov
Telerik team
answered on 26 May 2011, 04:51 PM
In order to delete an appointment, RadScheduleView should remove it from the AppointmentsSource, hence you cannot delete appointments if you use a ReadOnlyObservableCollection<T>... The presence of the "Delete" button should be considered as a bug, though. I will see if I can fit this fix in our plans for the next week's internal build.

Kind regards,
Valeri Hristov
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Troy
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Troy
Top achievements
Rank 1
Share this question
or