add new issue       

Issue ID:  336     Deal with BindingList vs ObservableCollection issue      
Created by rocky on 2009-02-06 11:39 AM, 3213 days ago
Project:  CSLA .NET
Category:  enhancement
Priority:  high
Status:  closed
Feature area:Base classes
Version:4.0.x
  Entering "issue#999" in comment creates link to id 999

show inline images      show change history

comment 1981 posted by rocky on 2010-01-08 9:25 AM, 2877 days ago 
Added some basic unit tests on the .NET side to establish the functionality of the new BLB.
comment 1980 posted by rocky on 2010-01-08 9:20 AM, 2877 days ago 
Added BusinessBindingListBase to Silverlight - it is just a subclass of BusinessListBase, because on SL they are really the same thing.
comment 1961 posted by rocky on 2009-12-18 5:00 PM, 2898 days ago 
Renamed BusinessListBase to BusinessBindingListBase.

Created a new BusinessListBase along with all new base classes that ultimately inherit from ObservableCollection.
comment 1805 posted by rocky on 2009-10-27 10:47 AM, 2950 days ago 
merged bug 622 into this bug:
Deal with BindingList vs ObservableCollection issue
comment 1785 posted by rocky on 2009-10-27 10:31 AM, 2950 days ago 
This should also include moving SortedBindingList and FilteredBindingList into the Csla.Windows namespace. 

Probably LinqBindingList as well - to be replaced by a LinqObservableCollection in the Csla namespace.
comment 1784 posted by rocky on 2009-10-27 10:30 AM, 2950 days ago 
In 4.0 the BindingList/ObservableCollection issue must be addressed.

My current plan is to (basically) copy the existing collection classes into Csla.Windows and to change the implementations in the Csla namespace to derive from ObservableCollection.
comment 1065 posted by rocky on 2009-02-06 11:39 AM, 3213 days ago 
I've been having the sorting problem with the new DataGrid, and was able to get it working using the ExtendedCollectionViewSource posted here:

http://www.wpfmentor.com/2008/12/how-to-sort-bindinglist-using.html

There's a similar post that I haven't played around with, but seems more in depth (modifies the collection to raise the same notifications that ObservableCollection raises):

http://www.wpfmentor.com/2008/12/observable-collections-independent-of.html

Maybe they'll help.