CSLA .NET

From Rockford Lhotka's Expert C# 2008 and VB 2008 Business Objects books

CSLA 3.6 and MS WPF DataGrid

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 7
TerryH Posted: Fri, Jan 2 2009 9:45 PM

I'm trying to use the column sort option of the MS WPF Datagrid, with the grid bound to a CslaDataProvider, the grid will display the data, but I'm unable to sort the list by clicking on the column header.  I have tried other vendor WPF grids, but all behave the same way.

Has anybody been able to get this to work ?

If YES please explain how or any idea's of how I can get this to work

Top 500 Contributor
Posts 27
maxal replied on Mon, Jan 5 2009 8:58 PM
The only way I could make it work is by using Linq. Like this:
Instead of line
ItemsSource = list
I used
ItemsSource = from item in list select item;
Maxim Alexeyev Discovering.NET
Page 1 of 1 (2 items) | RSS

Please contact Magenic for your .NET consulting
and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
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