CSLA .NET

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.
    • "Remove is an Invalid Operation" && Insertis an Invalid Operation

      Hi, I have read on many posts about the error message that it is there because we try to write to a collection when it is in ReadOnly mode. In my case I am setting a property and after that using PropertyHasChanged(string item) method where the error comes. The class in which we have used the validation...
      Posted to CSLA .NET discussion by shahfaisal on Thu, Jan 22 2015
    • Csla.NameValueListBase<K,V> for Windows Forms or safe for WPF

      Hi Context: Given that BusinessBindingListBase<T,C> is for supporting Windows Forms under CSLA 4, and BusinessListBase<T,C> is the Xaml (ObservableCollection) equivalent, then what about NameValueListBase<K,V> ? It is derived from the Csla.Core.ExtendedBindingListBase<T> type...
      Posted to CSLA .NET discussion by Jaans on Sat, May 31 2014
    • CanExecuteRemove not working in CslaDataProviderCommandManager in CSLA 4.5

      I updated a fairly old project to use CSLA 4.5, and suddenly noticed that my Delete buttons linked to the CommandManager of the CslaDataProdiver were not getting enabled when they should. After downloading the source code and looking at the process in question I realized that the cast in the CanExecuteRemove...
      Posted to CSLA .NET discussion by djdewet on Fri, Aug 30 2013
    • Re: CSLA 3.6 Abstract Class

      I am using CSLA 3.7. I have a similar scenario as above. In addition to the above, I need to create a BusinessListBase with Person as child. So, in the list class, I will either cast the child object to access the properties/methods of Client/User class or I can directly call the properties/methods if...
      Posted to CSLA .NET discussion by jindalsyogesh on Tue, Dec 18 2012
    • Is it possible to bind CSLA BusinessListBase list to crystal report

      I have a CSLA list class that is inherited from: BusinessListBase Now I wan't to pass this list somehow to crystal report document. So I have tried this: reportDocument1 . SetDataSource ( cslaListOfObjects ); But I get error that crystal report can't receive nullable parameters. And also when...
      Posted to CSLA .NET discussion by vladakg85 on Fri, Jun 15 2012
    • Add Business Rules for Business List Base child property

      Hi, I Have object graphs with parent-child relationship. There are more than two children objects. Parent object is BusinessBase object where other child objects are BusinessListBase objects. Now I want to add validation for child objects that if not a single child objects is not added, Then parent objects...
      Posted to CSLA .NET discussion by Marsh on Wed, May 16 2012
    • Re: Edit level mismatch in AcceptChanges

      DataGrid controls generally put a child object in 'edit mode' when the user enters the row bound to that child. They sometimes take the object out of edit mode when the user leaves the row - and the Silverlight datagrid control is pretty good about that. But you are doing drag-and-drop right...
      Posted to CSLA .NET discussion by RockfordLhotka on Tue, May 8 2012
    • Best tact for Hierarchical queries

      I need to query an EditableRootList by hierarchical child attributes. An example from Using CSLA would be a Invoice->LineItems->LineItem. I would like to return all Invoices for this month that have an LineItem Amount over $500.00. Should I make a Command or this a Unit of Work? I do not see in...
      Posted to CSLA .NET discussion by csmith1 on Thu, Mar 8 2012
    • How to Notify ROL of Delete?

      I have a ListView (ROL) and DetailsView( BO). in my Detailsview have a Delete Button that invoke BO.Delee method directly. according to http://www.lhotka.net/weblog/IAmWorkingOnMyUsingCSLANET30EbookAndWroteSomeContentThatIDontThinkImGoingToUseInTheBook.aspx notify the ROL the Add and Update. but how...
      Posted to CSLA .NET discussion by simon on Tue, Feb 7 2012
    • Saving items in a BusinessListBase sub-list

      Hi there This is my first post so pleasd be gentle with me... I have a BusinessListBase called LookupItems containing a about 50 BusinessBase objects called LookupItem. Within a parent BB object (Lookup), I create a new LookupItems child property which is populated from the complete list containing about...
      Posted to CSLA .NET discussion by H2Os on Wed, Aug 17 2011
    • Need for creating lists of type ReadOnlyListBase...

      I have been using CSLA for a couple of years now and am about to start a new project. I am planning out how I will be laying out my objects and basically do not see the need to use ReadOnlyListBase. In the past, when I create and InfoList class I seem to spend too much time creating the class, criteria...
      Posted to CSLA .NET discussion by Andrés Nava on Tue, Apr 19 2011
    • Asynchrous rule not updating UI on first call - breaking list

      I’ve been using CSLA for a while now but am now just starting to build Silverlight applications using it. I am having a problem with asynchronous rule methods that update the UI. I am using CSLA 4.1 and have the following objects: BannedCarrier – Child Business Base Object BannedCarriers...
      Posted to CSLA .NET discussion by zman88a on Thu, Mar 17 2011
    • All items returned by a BusinessListBase class are the same item.

      Having some issues getting proper results when creating a list of test events. I am using CSLA 3.7.1 The issue is that the list that is returned to the program has the proper number of tests but all of the tests are the same. In other words there seems to be an issue with the list using a reference to...
      Posted to CSLA .NET discussion by Roger_wgnr on Wed, Mar 9 2011
    • ChildChanged Event Not Firing

      Hi, I wonder if someone can tell me where I am going wrong please... ? I have a simple scenario, i.e. a parent business object based on BusinessBase which in turn contains a child collection based on BusinessListBase which in turn contains a collection of business objects again based on BusinessBase...
      Posted to CSLA .NET discussion by NickTaylor on Sat, Feb 26 2011
    • Lazy loading BusinessListBase several levels down

      This is my current object graph Album - PhotoList ( BusinessListBase) - - Photo - - - Tags ( BusinessListBase) - - - - Tag I am currently loading the PhotoList and Tags using lazy loading. Within the Album class, to load the list of photos I use: public IPhotoList PhotoList { get { if (!FieldManager...
      Posted to CSLA .NET discussion by Andrés Nava on Mon, Nov 15 2010
    • Strange bahaviour of BusinessListBase

      My program is using CSLA 2.1.4 I have a class TaskTimeSpanList Inherits BusinessListBase(Of TaskTimeSpanList, TaskTimeSpan) When timer form returns new TaskTimeSpanList, I add it's items to the parent object list: For Each ts As TaskTimeSpan In frm.TimeSpans SelectedTask.TaskTimeSpans.Add(ts.Clone...
      Posted to CSLA .NET discussion by Marius on Wed, Nov 10 2010
    • Any reason BusinessListBase in 3.8 can't (ultimately) inherit from ObservableCollection like 4.0 does?

      We have a fairly large custom LOB app that, for the time being, requires that we support .net 2/3/3.5. So moving to .net or CSLA 4.0 is not currently an option. In our recent WPF experiences, we've been running into lots of issues where we end up "wrapping" BLB collections in ObservableCollection<>...
      Posted to CSLA .NET discussion by pjjjjjjjjjj 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
    • Need suggestion on binding a Child Object directly as a Model to a ViewModel

      Hi All, I have a grid with data filled from csla businesslistbase now when the user selects a single row and clicks on the edit button a popup is suppose to be opened and the data of the row is suppose to be displayed in the popup window for editing. Now here is the problem, to do so i need to set the...
      Posted to CSLA .NET discussion by Tiklu Ganguly on Tue, Oct 26 2010
    • Re: Saving Not being called IN BindingListBase(Of Items, Item)

      I guess I didn’t explain what my problem is. Let me explain you the whole scenario I have a class that contains transaction “BB(Of Transaction) and each transaction has a list of items and each item that is being entered in the BLB(Of Items, Item) should be saved when I’m calling the...
      Posted to CSLA .NET discussion by vbbeta on Fri, Oct 15 2010
    Page 1 of 2 (40 items) 1 2 Next >

    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