Appoinments not displayed while not in ObservableCollection

3 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. Romain
    Romain avatar
    6 posts
    Member since:
    Jul 2016

    Posted 22 Aug Link to this post

    Wrong sub-forum.
    I reposted in UI for WPF.
  3. DevCraft banner
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 25 Aug Link to this post

    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.
Back to Top