This question is locked. New answers and comments are not allowed.
ScheduleView, Version: Q2 2011 SP1
Whenever I use a QueryableCollectionView (or in this case a QueryableDataServiceCollectionView) as an AppointmentSource for the ScheduleView control it runs into this error: "Not supported GroupDescription. Only PropertyGroupDescription is supported." There is no grouping, no sorting, no filters or whatever, but still I receive this error. Using an ObservableCollection does not produce this error, but this type of collection is not what I want to use since it has less features.
To reproduce the error: create a QueryableCollectionView of type "Appointment", add one appointment, and set it as datacontext for a scheduleview control. Any idea what happens here? Stacktrace follows...
bei Telerik.Windows.Data.QueryableCollectionView.AddOrUpdateGroupDescriptorForGroupDescriptions(GroupDescription description)
bei Telerik.Windows.Data.QueryableCollectionView.AddGroupDescriptorsForMatchingGroupDescriptions(IEnumerable`1 addedDescriptions)
bei Telerik.Windows.Data.QueryableCollectionView.OnGroupDescriptionsChanged(Object sender, NotifyCollectionChangedEventArgs e)
bei System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
bei System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
bei System.Collections.ObjectModel.Collection`1.Add(T item)
bei Telerik.Windows.Controls.CollectionExtensions.<>c__DisplayClass1`1.<AddRange>b__0(T item)
bei Telerik.Windows.Controls.CollectionExtensions.ForEach[T](IEnumerable`1 source, Action`1 action)
bei Telerik.Windows.Controls.CollectionExtensions.AddRange[T](ICollection`1 collection, IEnumerable`1 items)
bei Telerik.Windows.Controls.ScheduleView.ScheduleViewDataConnection.SetGroupingAndFiltering(IEnumerable`1 groupDescriptions)
bei Telerik.Windows.Controls.ScheduleViewBase.RegenerateGroupHeaders()
bei Telerik.Windows.Controls.ScheduleViewBase.OnAppointmentSourceChanged(IEnumerable oldValue, IEnumerable newValue)
bei Telerik.Windows.Controls.ScheduleViewBase.UpdateScheduleViewOnAppointmentSourceChanged(IEnumerable oldValue, IEnumerable newValue)
bei Telerik.Windows.Controls.ScheduleViewBase.OnAppointmentsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
bei Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
bei System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
bei System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
bei System.Windows.DependencyObject.RefreshExpression(DependencyProperty dp)
bei System.Windows.Data.BindingExpression.SendDataToTarget()
bei System.Windows.Data.BindingExpression.SourcePropertyChanged(PropertyPathListener sender, PropertyPathChangedEventArgs args)
bei System.Windows.PropertyPathListener.ReconnectPath()
bei System.Windows.Data.Debugging.BindingBreakPoint.<>c__DisplayClass4.<BreakOnSharedType>b__3()
Whenever I use a QueryableCollectionView (or in this case a QueryableDataServiceCollectionView) as an AppointmentSource for the ScheduleView control it runs into this error: "Not supported GroupDescription. Only PropertyGroupDescription is supported." There is no grouping, no sorting, no filters or whatever, but still I receive this error. Using an ObservableCollection does not produce this error, but this type of collection is not what I want to use since it has less features.
To reproduce the error: create a QueryableCollectionView of type "Appointment", add one appointment, and set it as datacontext for a scheduleview control. Any idea what happens here? Stacktrace follows...
bei Telerik.Windows.Data.QueryableCollectionView.AddOrUpdateGroupDescriptorForGroupDescriptions(GroupDescription description)
bei Telerik.Windows.Data.QueryableCollectionView.AddGroupDescriptorsForMatchingGroupDescriptions(IEnumerable`1 addedDescriptions)
bei Telerik.Windows.Data.QueryableCollectionView.OnGroupDescriptionsChanged(Object sender, NotifyCollectionChangedEventArgs e)
bei System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
bei System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
bei System.Collections.ObjectModel.Collection`1.Add(T item)
bei Telerik.Windows.Controls.CollectionExtensions.<>c__DisplayClass1`1.<AddRange>b__0(T item)
bei Telerik.Windows.Controls.CollectionExtensions.ForEach[T](IEnumerable`1 source, Action`1 action)
bei Telerik.Windows.Controls.CollectionExtensions.AddRange[T](ICollection`1 collection, IEnumerable`1 items)
bei Telerik.Windows.Controls.ScheduleView.ScheduleViewDataConnection.SetGroupingAndFiltering(IEnumerable`1 groupDescriptions)
bei Telerik.Windows.Controls.ScheduleViewBase.RegenerateGroupHeaders()
bei Telerik.Windows.Controls.ScheduleViewBase.OnAppointmentSourceChanged(IEnumerable oldValue, IEnumerable newValue)
bei Telerik.Windows.Controls.ScheduleViewBase.UpdateScheduleViewOnAppointmentSourceChanged(IEnumerable oldValue, IEnumerable newValue)
bei Telerik.Windows.Controls.ScheduleViewBase.OnAppointmentsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
bei Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
bei System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
bei System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
bei System.Windows.DependencyObject.RefreshExpression(DependencyProperty dp)
bei System.Windows.Data.BindingExpression.SendDataToTarget()
bei System.Windows.Data.BindingExpression.SourcePropertyChanged(PropertyPathListener sender, PropertyPathChangedEventArgs args)
bei System.Windows.PropertyPathListener.ReconnectPath()
bei System.Windows.Data.Debugging.BindingBreakPoint.<>c__DisplayClass4.<BreakOnSharedType>b__3()