This question is locked. New answers and comments are not allowed.
Hi,
Are these statements valid in a WCF call back to populate the grid ? If the message is saying I have to issue a rgvTimes.Clear() it doesn'T make sence as I never had to do this in any of my applications to date.
As this gives me the error as follow and I'm unable to figure out why, where and what I have to look for to solve that problem
Is there something wrong in my code above ? What should I do to understand and see what's going on ?
Are these statements valid in a WCF call back to populate the grid ? If the message is saying I have to issue a rgvTimes.Clear() it doesn'T make sence as I never had to do this in any of my applications to date.
_Times = e.Result; rgvTimes.ItemsSource = _Times; rgvTimes.Rebind(); As this gives me the error as follow and I'm unable to figure out why, where and what I have to look for to solve that problem
Items collection must be empty before using ItemsSource. Ã Telerik.Windows.Data.DataItemCollection.CheckInternalViewIsNotUsed() Ã Telerik.Windows.Data.DataItemCollection.SetItemsSource(IEnumerable source) Ã Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass48.<Bind>b__47() Ã Telerik.Windows.Controls.CursorManager.PerformTimeConsumingOperation(FrameworkElement frameworkElement, Action action) Ã Telerik.Windows.Controls.GridView.GridViewDataControl.Bind(Object newValue) Ã Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsSourceChanged(Object oldValue, Object newValue) Ã Telerik.Windows.Controls.DataControl.OnItemsSourcePropertyChanged(DependencyObject origin, DependencyPropertyChangedEventArgs args) Ã Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e) Ã System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue) Ã System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation) Ã System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet) Ã Foo.MainPage._Proxy_UpdateTempsCompleted(Object sender, UpdateTempsCompletedEventArgs e) Is there something wrong in my code above ? What should I do to understand and see what's going on ?