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

Appoinments not displayed while not in ObservableCollection

2 Answers 28 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Romain
Top achievements
Rank 1
Romain asked on 22 Aug 2016, 12:43 PM

Hi,

I'm binding a custom ObservableCollection to the AppointmentsSource of radScheduleView. This doesn't specialize ObservableCollection but still implements INotifyPropertyChanged, INotifyCollectionChanged and ICollection.

The fact is : DisplayedElements are not refreshed when I add an element (either with UI or code) and I need to refresh the ScheduleView (for example : changing ViewDefinition) for them to appear. A bigger problem is in inlining editing since CreateInlineAppointment does Remove immediately after CreateNew (because the new element isn't in the displayed element).

Then I wonder what is the "ObservableCollection" expected behaviour for the DisplayedElements to be refreshed ?
Same question may apply to "Appointment" (ours is implementing IAppointment, INotifyPropertyChanged).

Thanks for your help.

2 Answers, 1 is accepted

Sort by
0
Romain
Top achievements
Rank 1
answered on 22 Aug 2016, 12:47 PM
Wrong sub-forum.
I reposted in UI for WPF.
0
Yana
Telerik team
answered on 25 Aug 2016, 08:47 AM
Hello Romain,

Here is a link to the WPF forum thread regarding same question:
http://www.telerik.com/forums/appoinments-not-displayed-while-not-in-observablecollection-ui-for-silverlight-resources-buy-try

Regards,
Yana
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ScheduleView
Asked by
Romain
Top achievements
Rank 1
Answers by
Romain
Top achievements
Rank 1
Yana
Telerik team
Share this question
or