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.
    • WinRT TextBox Template with CSLA

      Anybody was successful on creating a template for Texbox with CSLA ?? We are having trouble with DataTrigger using Behaviors SDK XAML version 12.0 We've tried to adapt the one here http://forums.lhotka.net/forums/p/11633/53888.aspx#53888 unsuccessfully :-\
      Posted to CSLA .NET discussion by Jean on Mon, Jul 28 2014
    • 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
    • BXF Trigger Action for Silverlight

      Hello, I'm using CSLA 4.5.30 with my silverlight MVVM application. I have a viewModel class deriving from ViewModelBase, which does not have any BeginRefersh() call in my constructor. Calls to BeginRefresh() are event driven. I am putting BXF Trigger Action for Loaded event of textbox. Method adds...
      Posted to CSLA .NET discussion by Rahul.Kadam on Wed, Jul 17 2013
    • TriggerAction customization

      Two questions relating to the TriggerAction control and the XAML around it. First, I've read Rocky's blog post here about the control. My questions are: 1. Does the TriggerEvent attribute absolutely have to be in the format public void MyAction(object sender, ExecuteEventArgs e) or can it be...
      Posted to CSLA .NET discussion by TygreWolf on Thu, Jun 27 2013
    • 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
    • Re: Windows 8 and NotifyOnValidationError

      One solution is to use the Csla.Xaml.PropertyInfo control as a data source to get at the metastate and other data about a property. Then you can bind other UI elements to that PropertyInfo control, like a tooltip, or red Rectangle or whatever you'd like.
      Posted to CSLA .NET discussion by RockfordLhotka on Mon, Sep 10 2012
    • Re: Anyone here have any *solid* plans to write WinRT apps using CSLA?

      I assume by "writing native WinRT apps using CSLA" you mean C#/VB, XAML and CSLA, correct? Not just CSLA alone? I can think of a couple of reasons to continue to build upon these skills. Among them, it provides a relatively easy path into the WinRT development world using what you already know...
      Posted to CSLA .NET discussion by Tim on Tue, Jul 3 2012
    • XAML Conditionally required Business Rules + UI warnings

      G'day, I'm having a senior moment with XAML and CSLA business rules displaying optionally required fields in WPF at the moment. Can someone please put me out of my misery? I have a simple business Rule like like the following, so if a user selected the report format should be PDF, there is a...
      Posted to CSLA .NET discussion by jamie.clayton on Sun, Apr 22 2012
    • ProjectEdit / CollectionViewSource question

      In the ProjectEdit user control in the new ProjectTracker example, the CollectionViewSource named "projectGetterViewSource" has no source defined for it. On page 102 of the e-book, it states that "the first resource will contain the root viewmodel for the view." Here is the xaml line...
      Posted to CSLA .NET discussion by Tim on Fri, Nov 4 2011
    • Csla.Xaml.InvokeMethod exception handling

      This is the scenario: WPF-MVVM-CSLA 4.1 application The views trigger the view model methods via Csla.Xaml.InvokeMethod There is an AppDomain-level exception handler in App.xaml.cs for logging any random, app-killing exceptions for analysis and troubleshooting The problem is that InvokeMethod.CallMethod...
      Posted to CSLA .NET discussion by BrianPerry on Wed, Oct 5 2011
    • Re: Silverlight: ReadOnlyList Recommendation

      That's exactly what I do. Frequently I find that a CVS resource can index into properties of my "root" model object or viewmodel in ways that you can't do with a binding expression. And I don't mind that, because the CVS adds sorting and that sort of thing, so it is generally a...
      Posted to CSLA .NET discussion by RockfordLhotka on Wed, Sep 7 2011
    • WPF and theMVVM pattern

      Hi folks, Software: CSLA 4.1 – VS2010 After I have read the CSLA Expert C# 2008 Business Objects, watched CSLA 4 MVVM Video Series and practiced some CSLA with WinForm, I ‘m testing myself to create a small WPF demo in order to understand the basics (MVVM pattern) before starting the serious...
      Posted to CSLA .NET discussion by cconte on Thu, Sep 1 2011
    • Custom Busines Rule for numeric property

      Hello, I've a Custom Rules that checks if the user entered a valid numerical value (Double.TryParse) I override the AddBusinessRules Method and added the rule like this: BusinessRules.AddRule(new Business.CustomRules.Numerical(PreislistePos.PreisNormalProperty)); It works fine, as long as the user...
      Posted to CSLA .NET discussion by Kevin on Wed, Jul 27 2011
    • CslaDataProvider differences between WPF & Silverlight

      I just spent many hours trying to figure out why data binding was working in a (CSLA) WPF app, but the same data binding failed (at runtime) in a (CSLA) Silverlight app. There is a subtle difference that I couldn't find documented anywhere that I will document here for other people to hopefully find...
      Posted to CSLA .NET discussion by MichaelMaddox on Thu, Apr 7 2011
    • Debugging WCF Service for a CSLA Silverlight app

      I have downloaded the CSLA source (latest version) and I can debug through the SimpleApp sample on the Silverlight side, but I can't get the debugger to break in the WcfPortal code or the CustomerEdit DataPortal_Insert() method. I know that code is being executed because if I add an exception throw...
      Posted to CSLA .NET discussion by MichaelMaddox on Fri, Mar 25 2011
    • TriggerAction and Custom Controls

      Hello Does the TriggerAction require the custom controls to be derived from FrameworkElement? I'm using a custom control that derives from FrameworkContentElement and I can't get the Trigger to work on the element's click Event. If that's the case, what work around can anyone recommend...
      Posted to CSLA .NET discussion by Andres Bastidas on Wed, Feb 2 2011
    • Re: "Add New Data Source" - where's my ViewModel?

      The VS designer will actually instantiate the type as you do drag-and-drop. So if there's something blocking the type from instantiating (like it tries to talk to the database when in design mode) that'd cause this issue.
      Posted to CSLA .NET discussion by RockfordLhotka on Fri, Jan 28 2011
    • Property Status control not working properly (CSLA 4.0.1 + Silverlight 4 + MVVM)

      Hi all, I implemented the example described in Rocky's MVVM video "Deeper dive into collections". I was succesful in my implementation of the "New Employee" and then went forward to implement his navigation example going from the list of employees to the employee item. The navigation...
      Posted to CSLA .NET discussion by Mr X on Mon, Jan 17 2011
    • CSLA.net 4 CanSave CanCancel error/problem Xaml ViewModel

      Normal 0 false false false EN-ZA X-NONE X-NONE MicrosoftInternetExplorer4 The CanSave & CanCancel work when we do one/two actions(insert, move, drag, update, delete) of parent and child objects in a xaml form, but more than one/two actions the CanSave and CanCancel do not update or do not work, we...
      Posted to CSLA .NET discussion by JJ on Wed, Jan 5 2011
    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