CSLA .NET

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

Welcome to CSLA .NET Sign in | Join | Help
in Search

GridView Sorting

Last post 05-21-2008, 5:28 PM by Michael Hildner. 4 replies.
Sort Posts: Previous Next
  •  05-20-2008, 10:41 AM 23701

    GridView Sorting

    Greetings,

    I'm doing my first asp:GridView sorting. Got it working handling the Sorting event and a SortedBindingList. Just wondering if this is the recommended way to go about it, or if there are better ways?

    Just looking for confirmation or not.

    Using VS 2005, CSLA 2.1.4

    Thanks,

    Mike

  •  05-21-2008, 8:50 AM 23718 in reply to 23701

    Re: GridView Sorting

    Sure.

    That is a good way to do it.

    If you need to sort on more than 1 column it won't work though. I use the ObjectListView in CSLAContrib instead for that purpose.

    Joe

     

  •  05-21-2008, 8:57 AM 23719 in reply to 23718

    Re: GridView Sorting

    Thanks Joe,

    I'll check out the ObjectListView. Don't have a requirement now for multiple column sorting, but may soon.

    Regards,

    Mike

  •  05-21-2008, 4:39 PM 23727 in reply to 23719

    Re: GridView Sorting

    For CSLA 3.5 I think Rocky may be deprecating the Sorted and Filtered Binding lists. After all since LINQ exists, you should not need them anymore. And LINQ should handle multi-column sorting just fine too.

    Joe

     

  •  05-21-2008, 5:28 PM 23729 in reply to 23727

    Re: GridView Sorting

    Thanks for the info Joe,

    I need to look into all of that. A little behind on the CSLA versions. Bought all the books, just haven't found time to get up to speed yet.

    Thanks again,

    Mike

View as RSS news feed in XML

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?
Powered by Community Server, by Telligent Systems