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: OnPropertyChanged and maintaining a list of Dirty Properties

      I converted the above into C#, but it doesn't want to compile. Are there changes available in 3.8 that aren't in 3.7 that would keep it from compiling? VB.Net: Public Shared ReadOnly DirtyPropertiesProperty As PropertyInfo ( Of Collection ( Of String )) = RegisterProperty( Of Collection ( Of...
      Posted to CSLA .NET discussion by jkellywilkerson on Wed, Jul 10 2013
    • Re: Broken Rule for 1 property

      By "Win8" do you mean WinRT? Some features of the WinRT runtime are more similar to Silverlight 2 than to modern XAML. As a result the PropertyInfo control uses the SL2 binding scheme because the modern binding scheme can't be implemented :( <csla:PropertyInfo Name="blah" Source...
      Posted to CSLA .NET discussion by RockfordLhotka on Wed, Mar 6 2013
    • PropertyInfo Control in CaliburnMicro

      Does anyone have an example of a Style for a TextBox using the PropertyInfo Control with CaliburnMicro? I have been trying to cobble something together based on the WP example but have had absolutely no success. I get the impression that the DataTriggers aren't firing but I have no idea what I am...
      Posted to CSLA .NET discussion by blc303 on Mon, Oct 8 2012
    • Re: PropertyInfo & WinRT

      WinRT is missing some features used by the 'modern' PropertyInfo control in WPF/SL. The WinRT version of PropertyInfo uses an implementation more similar to what we did for Silverlight 2.0, which was also missing these features. As a result, the Property property can't be a binding expression...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Sep 13 2012
    • PropertyInfo & WinRT

      I'm trying to use the PropertyInfo control in a WinRT app, and I can't get the binding to work correctly. I want to bind another control's appearance to the IsValid meta data for a BO property that the PropertyInfo control exposes. The problem is that the binding is triggered only once when...
      Posted to CSLA .NET discussion by Tim on Thu, Sep 13 2012
    • Re: Windows 8 and NotifyOnValidationError

      I have the following XAML defined for the PropertyInfo control: <csla:PropertyInfo x:Name="piField1" Source="{Binding Model}" Property="{Binding Model.Field1}"/> I then have the following Border element with its BorderThickness bound to the PropertyInfo's IsValid...
      Posted to CSLA .NET discussion by Tim on Tue, Sep 11 2012
    • GetPropertyConvert<F, P> with private backing fields.

      I have a property using an enum and an int on the private backing field: public static readonly PropertyInfo < TransactionStatusEnum > TransactionStatusProperty = RegisterProperty< TransactionStatusEnum >(c => c.TransactionStatusID, "TransactionStatus" , TransactionStatusEnum...
      Posted to CSLA .NET discussion by Joseph Morin on Thu, Jul 12 2012
    • Re: Xaml.PropertyInfo

      Although it is relatively complex, most of the WPF/SL samples now use a style (defined in App.xaml) for the TextBox control that relies on the PropertyInfo control to do its work. The style gets its information from PropertyInfo and uses that information to control the appearance of the TextBox control...
      Posted to CSLA .NET discussion by RockfordLhotka on Mon, Feb 6 2012
    • Subclassed PropertyInfo, Custom PropertyInfoFactory, and RegisterProperty using Lambda

      Hello, I have implemented MyPropertyInfo<T> derived from PropertyInfo<T> and a custom PropertyInfoFactory which returns my derived type. My BO declaration however uses the lambda RegisterProperty overload and is declared as PropertyInfo<T>, not my subclassed type private static PropertyInfo...
      Posted to CSLA .NET discussion by Matthew Copeland on Wed, Oct 26 2011
    • Read-only Calculated Property

      Given a business object called “Rectangle” consisting of three integer properties “Width”, “Height” and a read-only “Area”. Would you make the read-only “Area” property a full blown PropertyInfo property? If so, you would need to create a rule...
      Posted to CSLA .NET discussion by Rene Elizondo on Tue, Jul 5 2011
    • Re: PropertyStatus and object level rules

      You are thinking of putting a PropertyStatus control on a form, and not specifying a property for the control, so it would know to pick up object level broken rules? This wouldn't be terribly hard to do, but I wonder about the visual representation? Where would you have the error icon appear? And...
      Posted to CSLA .NET discussion by RockfordLhotka on Thu, Jun 16 2011
    • How to set child property into null value when the root object is initialize

      HI All, please someone tell me how to set child property into null value when the root object is initialize... i need this because of my specific business case, i have a parent object that contain a lot of editable child property inside, and sometimes user can fill in some of the child information (not...
      Posted to CSLA .NET discussion by sutono on Thu, Jun 16 2011
    • Why isn't PropertyInfoManager contained within BusinessBase similar to how FieldManager is?

      I know that FieldManager is exposed as a protected property within BusinessBase. Why isn't PropertyInfoManager setup the same way? From what I can gather, PropertyInfoManger maintains a dictionary of Types and a list of each Type’s PropertyInfo(s). It would seem easier to just have a list of...
      Posted to CSLA .NET discussion by pbusch on Mon, Feb 28 2011
    • CSLA 4.1.0 - RegisterProperty on ReadOnlyBase has no overload to set RelationshipTypes

      I've started our mainline transition to CSLA 4.0 (which includes our own in-house code generation using a DSL Language). I've added support for the new RelationshipTypes parameter used by some of the RegisterProperty overloads and it works great! However, I ran into an issue when using a private...
      Posted to CSLA .NET discussion by Jaans on Sun, Dec 12 2010
    • LoadProperty and ReadProperty in CSLA 4

      i was just going over the ProjectTracker examples from 4.0.1 vs my older 3.6.2 and i was wondering why all of the dataportal methods only use LoadProperty and ReadProperty for SmartDate fields and not on all properties when they are being set or retrieved? wouldn't you want to bypass all the authorization...
      Posted to CSLA .NET discussion by loch006 on Tue, Nov 9 2010
    • MVVM - Possible to use Lambda expression for stronly named method name in ViewModel.BeginRefresh(...) method?

      Hi Rocky I'm going through the MVVM video series and it occurred to me that it would be very nice if the ViewModel.BeginRefresh( string methodName ) method was capable of using a "non-magic string" syntax like like we do with the RegisterProperty convention? The RegisterProperty scenario...
      Posted to CSLA .NET discussion by Jaans on Tue, Aug 10 2010
    • Converting/casting System.Reflection.PropertyInfo to CSLA.PropertyInfo<T> object

      HI, In one of my model class I registered a property using CSLA.PropertyInfo<T> object. private static PropertyInfo < string > LastNameProperty = RegisterProperty< string >( new PropertyInfo < string >( "LastName" , "Last Name" , string .Empty)); Now at the...
      Posted to CSLA .NET discussion by fahahm on Fri, Jul 30 2010
    • PropertyInfoFactory and Silverlight

      PropertyInfoFactory and Silverlight I am trying to Create Custom FieldData Classes in CSLA according to Jason Bock's article . It works great in WPF, however it does NOT work in Silverlight. Jason mentions The point to take away here is you must set the Factory property somewhere at the "beginning"...
      Posted to CSLA .NET discussion by sunlu on Tue, Jul 20 2010
    • Type Initializer error using PropertyInfo

      I have been using CSLA 3.8.2 w/VB in a new application. I had been using syntax from CSLA 2.0 for properties and decided to switch to the new PropertyInfo method. I rewrote a lot of code, but when I tried running it I received the error {"The type initializer for 'EPM.Library.OwnerBase'...
      Posted to CSLA .NET discussion by GPhillips on Tue, Jul 20 2010
    • Re: RegisterProperty for derived classes in 4.0

      When creating an abstract base type, that type must be generic. Or you can't use the generic overloads of RegisterProperty() - the choice is yours. Obviously the type T is frozen at the point where your types become non-generic - that's the way generics work. Using things like stack traces and...
      Posted to CSLA .NET discussion by RockfordLhotka on Fri, Jul 9 2010
    Page 1 of 1 (20 items)

    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