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 Forum Posts by Tags

    Showing related tags and posts for the CSLA .NET discussion forum. See all tags in the site
    • [csla 3.8.4] WPF-Textbox Visibility bound to PropertyStatus.CanRead -> Breaks Required validation rule!

      I have a WPF Textbox with its Visibility bound to the CanRead property of a Csla.Wpf.PropertyStatus control. The Text is bound to a string property of my business object which is decorated with the Required attribute from the System.ComponentModel.DataAnnotations namespace. When CanRead evaluates to...
      Posted to CSLA .NET discussion (Forum) by stefan on Wed, May 4 2011
    • Different ways to validate dates with a SmartDate backing field and public string property

      I recently had an issue with date validation in WPF using the Csla 3.8.2 framework. I have a date property that is exposed as a string publicly but has a SmartDate backing field. This seems to be the most common way to expose dates for UI purposes. The only problem is if the user types letters into the...
      Posted to CSLA .NET discussion (Forum) by Brett Mathe on Wed, Aug 18 2010
    • How to use PropertyStatus for child BusinessListBase property (WPF)

      Hello, Would greatly appreciate if someone can help me solve this issue, I apologize in advance if its a silly question. Thanks for the help. I am trying to display an error if any object in a businesslistbase object is invalid. I thought I can simply use PropertyStatus but it disables the list box in...
      Posted to CSLA .NET discussion (Forum) by sanbrar on Sat, Apr 24 2010
    • PropertyStatus, force update

      Hi there Is it possible to force an update of the propertystatus control somehow? I want to enable the following scenario: When I load a control which is databound to my BO with PropertyStatus control sfor all fields, and my BO is not valid, I want my PropertyStatus controls to display errors.. At the...
      Posted to CSLA .NET discussion (Forum) by fsl on Mon, Mar 15 2010
    • Re: Implementation of Edit mode

      Hi Rocky, I managed to create a custom PropertyStatus control derived from your type, with just the following changes: private object _source = null; changed to protected object _source = null; private string _bindingPath = string.Empty; changed to protected string _bindingPath = string.Empty; private...
      Posted to CSLA .NET discussion (Forum) by Lennon on Mon, Mar 15 2010
    • Re: Implementation of Edit mode

      Hi Rocky, I've implemented my own PropertyStatus control by creating a derived type from yours (with a few minor changes to your code). I will send these changes across when everything is complete, but I am now at the stage where I wish to set the MaxLength property of TextBox controls based on the...
      Posted to CSLA .NET discussion (Forum) by Lennon on Tue, Mar 9 2010
    • Re: Implementation of Edit mode

      Thanks Rocky, am I correct in saying that PropertyStatus only checks property level authorization rules, and not type level authorization? Is this by design? If that's the case, how could I retrieve the object type within HandleTarget() to pass to Csla.Security.AuthorizationRules.CanEditObject()...
      Posted to CSLA .NET discussion (Forum) by Lennon on Mon, Mar 8 2010
    • Re: Implementation of Edit mode

      Thanks Rocky, that was the sort of thing I was looking for. However, I'm not sure that we could justify a multi value converter for every control on the form. Therefore, I'm wondering if rolling our own PropertyStatus control might be the way to go. That way, I can rework HandleTarget() to check...
      Posted to CSLA .NET discussion (Forum) by Lennon on Mon, Mar 8 2010
    • Implementation of Edit mode

      Hi, I'm looking to implement an 'Edit' mode for our WPF UI - in other words, the controls on the form bound to the business object should not be available until the user clicks an 'edit' button. At which point the 'edit' button should become disabled, and a 'save'...
      Posted to CSLA .NET discussion (Forum) by Lennon on Fri, Mar 5 2010
    Page 1 of 1 (9 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