Appoinments not displayed while not in ObservableCollection UI for Silverlight Resources Buy Try

2 posts, 0 answers
  1. Romain
    Romain avatar
    6 posts
    Member since:
    Jul 2016

    Posted 22 Aug Link to this post

    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. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 25 Aug Link to this post

    Hi Romain,

    We will need more details on the custom collection you're using as currently we cannot tell what could be the reason for the erroneous behavior. Is it possible to send us a sample project demonstrating the issues you're experiencing?

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top