-
Hello, I'm trying to sort a GridView by a property of a child object. I'm able to successfully set the DataField of a BoundField to the child column ("Application.Name"), but this doesn't work for sorting. How would I go about accessing this child property in the ApplySort method...
-
I have a .Net 4 solution using Silverlight 5 and CSLA 4.3. The included projects: - MyProject (silverlight project that contains silverlight screens) - MyProject.Web (WCF project) - Library (contains csla business objects. Referenced only by MyProject.Web) - Library.Sl (contains links to existing business...
-
I have a ListView (ROL) and DetailsView( BO). in my Detailsview have a Delete Button that invoke BO.Delee method directly. according to http://www.lhotka.net/weblog/IAmWorkingOnMyUsingCSLANET30EbookAndWroteSomeContentThatIDontThinkImGoingToUseInTheBook.aspx notify the ROL the Add and Update. but how...
-
I have a business object and a corresponding database table called Role. In this table I am preloading two default records. The first is named "Administrators" and second is named "Users". I want to allow people to add, edit, and delete roles, except for these default ones. I was...
-
I am working with an MVC 3 application using CSLA 4.0, and I have set in the global.asax to use the CslaModelBinder. I have a top level object that derives from BusinessBase<T> (I will call it Labor), and that object has a child collection (LaborLogList) that derives from BusinessListBase<T>...
-
I am having some trouble trying to chain two rules using the Csla.Rules.CommonRules.Required rule as the inner rule. Basically, I want the Width2 property to be required if the Shape property is not equal to "Circular". Here is my code: private class ShapeGate : BusinessRule { public ShapeGate...
-
Hi There, I have a problem with the display format of the smartdate within a devexpress grid. Please look at the attachedment, and within the archive there is a screendump folder. What you will not is I have a normal datatable with a normal datetime column. it display the date correctly within the grid...
-
Let me start simple. For example in "Project Tracker" example, if you open any project to edit you can see resources that assigned to this project, however, if you also open edit resource document with one of the resources already assigned to the project, the changes on resources, which is...