CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Csla Light - Any ideas on implementing client-side filtering when using CslaDataProvider for Silverlight

rated by 0 users
This post has 1 Reply | 1 Follower

Top 50 Contributor
Posts 187
Jaans Posted: Sat, Jun 13 2009 7:25 PM

Hi All

I've been merrily working away at a Silverlight LOB application that uses CSLA Business Objects. What I absolutely have to acknowledge is the sterling work Rocky and his team has done with CSLA Light - well done!

Which brings me to my point... what would be a good way to perform filtering of a databound list on the Silverlight client. I have some CSLA BusinessList / ReadOnlyList data on the client and I'm using the CslaDataProvider control.

I could go a more manual route that allows me to keep a reference to the original list and use Linq to provide the filtered results from which the CslaDataProvider control could get its data from (or I could re-bind to ui directly).

To me I'm trying to see if there is an opportunity for doing it in a simpler way, or getting something added to the wish list that will provide a simpler way in future. Something like an event on the CslaProvider control that allows you to hook in you filtering, or something that you can plug-in you filter provider.

Care to share your ideas?

Many thanks
Jaans

Top 10 Contributor
Posts 9,270

The plan is to get a subset of LINQ to CSLA working on the Silverlight platform. That'd allow you to use LINQ queries to do basic sort/filter operations, and get back a LinqBindingList which is a view over the original list.

That's what you'd do today in WPF for example.

There just hasn't been time to get LBL ported over to the SL platform - I'm hopeful that'll come in the relatively near future.

Rocky

Page 1 of 1 (2 items) | RSS

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems