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

Forum has moved

New location: CSLA .NET forum

CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • Browse Site by Tags

    Showing related tags and posts across the entire site.
    • ASP.Net Datagrid - disable ViewState to reduce page size

      Hi, We are using CSLA Version as per CSLA.dll We are currently facing problems with oversized ViewState on pages that uses DataGrid and GridViews. I need to disable ViewState on datagrid, that uses selectedindexchanges, pageindexchanged, sort command, itemdatabound and itemcreated events. Some...
      Posted to CSLA .NET discussion by pjshah70 on Thu, Aug 15 2013
    • Error with Dynamanic List and Sorting Lists

      Hello, I am experiencing a problem with CSLA that didn't seem to be in the forums, until last week when someone else was experiencing the same problems as me. the post the question is in is marked with a suggested answer so this might be the reason why you have not seen it. however I am reposting...
      Posted to CSLA .NET discussion by Luke Macey on Mon, May 20 2013
    • Sorting SortedBindingList by child object property

      Hello, I'm trying to sort a GridView by a property of a child object. I'm able to successfully set the DataField of a BoundField to the child column ("Application.Name"), but this doesn't work for sorting. How would I go about accessing this child property in the ApplySort method...
      Posted to CSLA .NET discussion by scjohnson on Wed, Apr 10 2013
    • Sorting/Filtering

      Hey, I'm having problems sorting and saving. If I apply a sort to a BLB and then save i get an "edit level mismatch error". I've tried this scenario with v4.1 and 4.5, but i get the same error. There has been much discussion on this topic, but nothing recently so has it been resolved...
      Posted to CSLA .NET discussion by JasonG on Mon, Dec 10 2012
    • Strange behaviour of datagridview binded to sortedbindinglist

      I encountered strange behavior of datagridview: In the parent object (invoice) I have a childlist (invoiceitemlist) that I expose through a property like this: Public ReadOnly Property InvoiceItemList() As Csla.SortedBindingList(Of InvoiceItem) Get Return _InvoiceItemList.GetSortedList End Get End Property...
      Posted to CSLA .NET discussion by Marius on Tue, Apr 19 2011
    • Re: Sorting & Filtering - SortedBindingList? LINQ to CSLA? v4?

      I don't see the issue. I took the sample you mention, and altered Root.cs as follows: public SortedBindingList < Child > Children { get { return new SortedBindingList < Child >(RealChildren); } } public static PropertyInfo < ChildList > RealChildrenProperty = RegisterProperty<...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Oct 28 2010
    • Re: Sorted Collection

      You probably need to consider maintaining a private reference to the actual child collection, and exposing a SortedBindingList as your public-facing property. SortedBindingList is a wrapper, or view, over a collection. In your case the only view you want consumers to see is the sorted list, so expose...
      Posted to CSLA .NET discussion by RockfordLhotka on Wed, Oct 27 2010
    • Sorted Collection

      Hello, We are migrating from an old CSLA version (1.3.0) to 3.8.3 and we need some help with the BusinessListBase and sorting. We had the following functionality: base .ApplySort( "StartDate" , System.ComponentModel. ListSortDirection .Ascending); It was used for some business collections that...
      Posted to CSLA .NET discussion by Lazaro on Wed, Oct 27 2010
    • Can a NameValueList be sorted?

      We are upgrading our winforms application from .NET 1.x to 2.0 In our original CSLA Code (CSLA Extentinons) we implemented a BindableNameValueList, Inheriting from CSLA.NameValueList and a SortComparer Class which allowed us to sort a BindableNameValueList object by the value. Their primary use is binding...
      Posted to CSLA .NET discussion by stevenkahan on Fri, Sep 17 2010
    • Best practice for implementing a GridView with Sorting/Filtering enabled with CSLA DataSource.

      Dear All, I have implemented a GridView Control which can be sorted by clicking the Header Colom, with a Filter, which is bound to a CSLA DataSource. I have followed same basic idea Proejct Tracker Application, but since there is no implementation for sorting in the sample applicaiton, I had to do it...
      Posted to CSLA .NET discussion by tarekahf on Wed, Mar 24 2010
    • Re: How to sort a ERLB ?

      When binding your BindingSource, you should be able to use bindingSource1.DataSource = new SortedBindingList<MyBO>( myErlb ); Is that not working?
      Posted to CSLA .NET discussion by Andy on Tue, Mar 16 2010
    • How to sort a ERLB ?

      Hi, To manage some data, I use a datagridview (WinForms) bound to a ERLB (data saved once the row changes). Everything is OK. But now, I want to be able to sort rows of the datagridview with a mouse click on the column header. With a SortedBindingList, there is no problem for that but with a ERLB it...
      Posted to CSLA .NET discussion by dg78 on Tue, Mar 16 2010
    • Re: bug in SortedIndex (SortedBindingList)

      Can that happen thought? Is there a scenario where the index of an item needs to be translated into the indexed position, and where the item is somehow in the list, but not in the sorted index? If that can happen the bug isn't in the SortedIndex() method, it is in whatever code allowed an item to...
      Posted to CSLA .NET discussion by RockfordLhotka on Wed, Mar 3 2010
    • Re: Winform Grid Sorting

      Well, they are and they aren't. They're obsolete really because of Wpf and SL, and WinForms is now being considered legacy technology. But if you're still on WinForms, you should continue to use those classes if needed, because WinForms doesn't understand Linq.
      Posted to CSLA .NET discussion by Andy on Wed, Feb 17 2010

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