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.
    • Re: Edit Level mismatch error

      Windows Forms data binding is very particular about following its rules. And so is CSLA. The rules are relatively straightforward, but you can't deviate. The primary rule: every beginedit must have a corresponding canceledit/endedit on each object (parent, child, etc). Edit level mismatch occurs...
      Posted to CSLA .NET discussion by RockfordLhotka on Fri, Jan 20 2012
    • Re: BusinessListBase vs BusinessBindingListBase

      [quote user="Tiago Freitas Leal"] Besides sharing the experience, I think this also raises a point. If we must use BusinessBindingListBase for Windows Forms and BusinessListBase for WPF/Silverlight, suppose my application has both clients. I need to have duplicated Business*ListBase classes...
      Posted to CSLA .NET discussion by RockfordLhotka on Fri, May 27 2011
    • 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: IdentityConverter and CSLA Silverlight

      WPF 3.5 introduced a binding option that solves this problem, so I removed IdentityConverter from CSLA at that point. I don't recall the specific binding option off the top of my head, but there's a way to tell the binding to always refresh. To my knowledge, Silverlight never had this same issue...
      Posted to CSLA .NET discussion by RockfordLhotka on Wed, Apr 6 2011
    • IdentityConverter and CSLA Silverlight

      There is a blog post by Rocky here talking about IdentityConverter and WPF: http://www.lhotka.net/weblog/DataBindingIssueInWPFWithSolution.aspx The Csla.Wpf namespace in CSLA 3.8 contains the IdentityConverter class. In CSLA 4.1, the Csla.Xaml namespace for Silverlight does not appear to contain the...
      Posted to CSLA .NET discussion by MichaelMaddox on Wed, Apr 6 2011
    • WinForm binding combo box

      I'm trying to implement a solution using the CSLA 4 framework with a WinForm interface. I have a BusinessBase class that represents an address. The address class has an editable property for State and County, and read-only lists for States and Counties. The goal is to have the class refresh the list...
      Posted to CSLA .NET discussion by Steve on Tue, Mar 29 2011
    • CSLA Databinding with mono

      Hey guys, So I've been working on a project using the latest CSLA from the SVN. I have it compiled and it seems to be working on Mono quite well except with one issue - databinding. Binding CSLA objects to comboboxes and datagridviews works just as it should in Windows Forms (using BusinessBindingListBase...
      Posted to CSLA .NET discussion by TygreWolf on Sat, Mar 26 2011
    • Two BindingSources with the Same DataSource Type

      Hello, Two different combo boxes for a C# WinForms application that need to have a list of the same data. They need to be able to have different values at any given time, so they can't use the same BindingSource. I have a NameValueList business object that has an ID(Key) and Name(Value). I want to...
      Posted to CSLA .NET discussion by shaselsc on Wed, Feb 9 2011
    • Problems with Begin- / Cancel- / Apply-Edit operations

      Hello community! I'm lost with the undo capabilities of CSLA. I have found several questions/answers dealing with the strange behavior of data binding under windows forms. But alas, I'm not using data binding at all in my test application. I'm using CSLA 3.8.4, C#, .NET 3.5SP1, VS2010, NHibernate...
      Posted to CSLA .NET discussion by DeepCore on Fri, Dec 10 2010
    • Re: How can i change the controls error state while running the business rules manually

      After calling CheckRules, make a call to OnUnknownPropertyChanged - that will raise appropriate PropertyChanged events and should get you the desired result.
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Nov 11 2010
    • EditLevel Mismatch In CopyState

      Hi Everyone I’m writing this post after reviewing a few threads about this situation and it didn't help does anyone know/have a workaround on this matter of EditLevel mismatch in copy state I’m so lost Im Currently using Csla 4.000
      Posted to CSLA .NET discussion by vbbeta on Mon, Nov 1 2010
    • ComboBox binding

      I have a Business Object that has a ReadOnlyList propertycalled “Lots”. I have bound the WPF form to the Business Object. I would like to bind a ComboBox to the ReadOnlyList “Lots” property of the Business Object. < ComboBox x : Name ="LotFKComboBox" ItemsSource ...
      Posted to CSLA .NET discussion by Russ Blair on Wed, Sep 29 2010
    • Re: More Windows DataBinding Woes

      Jonny is right, but it sounds like you've already dug into the Using CSLA .NET 3.0 ebook in some depth and probably have the basic concept. If you want a top-level Cancel button, you need to manually call BeginEdit on the root object before you bind it to the UI . And then you need to unbind the...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Sep 9 2010
    • More Windows DataBinding Woes

      Can anyone tell me where I am going wrong please...? My problem relates to WinForms databinding and its relationship with a CSLA business object. In fact its CSLA business objects that in turn contain child collections that are really causing me trouble. I fully understand about the need to disconnect...
      Posted to CSLA .NET discussion by NickTaylor on Thu, Sep 9 2010
    • Re: IBindingList support and DevExpress Grids

      [quote user="mattruma"] So when should you class inherit from BusinessListBase verses BusinessBindingListBase? They are both still available. [/quote] It is a sad situation Microsoft and the datagrid vendors have created. When Microsoft decided that WPF wouldn't fully support IBindingList...
      Posted to CSLA .NET discussion by RockfordLhotka on Sat, Aug 21 2010
    • Re: Cannot bind an unregistered property in xaml: a bug or a new CSLA4's behaviour?

      Basic binding should work ok (not great) against the two properties you implemented. Since they don't raise PropertyChanged events (you aren't calling OnPropertyChanged for them) your data binding experience will be somewhat substandard - but you can address that by just adding OnPropertyChanged...
      Posted to CSLA .NET discussion by RockfordLhotka on Sat, Aug 7 2010
    • Re: Validation of a BLB

      The problem with adding rules actually in the collection itself, is that there's no way to express those rules into the UI. There is no data binding mechanism by which a collection can say it is invalid. In other words, I could implement a rules mechanism in BLB - and then you could write your rules...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Aug 5 2010
    • Lost with BusinessListBase addnig New item to collection

      Hi to anyone who read this Post..........Im really lost !!!!!!! fo rthe past week im trying to bind a chilLidtBase to one of its parents or it should be EditableRootList, but when ever im binding the dataGridSource to the DataItem of my parent Class and the dataSource AddNew is turned on (True) at runtime...
      Posted to CSLA .NET discussion by vbbeta on Mon, Aug 2 2010
    • Handling Property Changes Within The UI

      Hi, I wonder if anyone could offer me some advice on this please:- I have an issue in relation to Windows Forms data binding and some of my business object properties. Following Rocky's expert advice in the past I use a binding source and bound fields to communicate between the UI and my business...
      Posted to CSLA .NET discussion by NickTaylor on Mon, Aug 2 2010
    • Re: Help with Save and Update in Winforms MDI App

      The best and most detailed information on dealing with Windows Forms is in the Using CSLA .NET 3.0 ebook - there's a chapter on the topic in that ebook. The basic thing to remember is that you must always properly unbind all business objects from the UI before attempting to save. The CslaActionExtender...
      Posted to CSLA .NET discussion by RockfordLhotka on Sat, Jul 31 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