-
Hi, We have Maximum Length validation rules for some properties in our business object. However what we would like to do ideally, is bind MaxLength on a textbox to this validation rule to stop invalid lengths being entered in the first place. Has anyone else tired this? Any help would be greatly appreciated...
-
[quote user="RockfordLhotka"]This typically means the UI renders without any validation or data - just the basic controls. And when the async object arrives it is bound and that's the point at which both data and validation appear.[/quote] Ooops! There was a bug on my part which was creating...
-
Hi guys. I use CSLA 3.7 version I have a Editable Root named Root1 and 2 EditableChilds: Child1 and Child2 Child1 and Child2 are sharing the same string property( named Shared_Child_Property) I want to validate if exist at least one value not nullorempty for Shared_Child_Property (it is the same if exist...
-
I have a person object that has a few rules that depend on a lzy loaded object of MembershipRecords. The membership records was set to lazy load because they are not always needed across other applications and it became very large and slow to retireve. When the person object was serilized to disk is...
-
I'm calling following code from my validation method.. This seems to work when the object is saved.. if i delete a item and add it again (without saving) then this is returning incorrect results.. whereas in debugger i can see that item is sucessfully deleted and added but linq query is not returning...
-
Hi, I have been looking a validation in general. I dont really want to add many PropertyStatus controls to my forms as this could take some time redesigning them/moving control around etc to get them to fit. Instead i have been using the ValidatesOnDataError=True property on the control bindings for...
-
I am working on an MVC project and want to make use of the BrokenRules to show errors on the view. Within my objects, I am using the DataAnnotation and in AddBusinessRules() I am calling the base method (base.AddBusinessRules) so it links up the DataAnnotation error with the BrokenRules collection. One...
-
Hello Code Complete 4.2 has been released and is available for download. The new version supports the latest version of CSLA.NET (3.8.2), includes some bug fixes and the following improvements: The previous evaluation copy of Code Complete limits the number of columns for each table to 5. This limitation...
-
Hi I have the following BO: public class FixedAssetChild : Csla. BusinessBase < FixedAssetChild > This class has the following properties: private static PropertyInfo < FixedAssetSupplyChildList > SupplyListProperty = RegisterProperty< FixedAssetSupplyChildList >( typeof ( FixedAssetChild...