Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Refreshing an observable collection

$
0
0
I'm using an observable collection in my WPF based project.  All my data is bound using Linq to SQL.  I do all the deletes and appends via Stored Procedures.  This works great data wise.  I'm having issues getting the collection to refresh though.  I know i can just instantiate a new observable collection, the issue there is I don't always know what was last provided.  Meaning it could be the base list with all data, it could be limited by a specific id, or another filter like specific user.  I tried implementing CollectionChanged but couldn't figure that out.  I do have property changed events but they don't seem to refresh this even when I raise them specifically.  Any help would be great.

Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>