-
[quote user="Tiago Freitas Leal"] Besides sharing the experience, I think this also raises a point. If we must use BusinessBindingListBase for Windows Forms and BusinessListBase for WPF/Silverlight, suppose my application has both clients. I need to have duplicated Business*ListBase classes...
-
WPF 3.5 introduced a binding option that solves this problem, so I removed IdentityConverter from CSLA at that point. I don't recall the specific binding option off the top of my head, but there's a way to tell the binding to always refresh. To my knowledge, Silverlight never had this same issue...
-
[quote user="mattruma"] So when should you class inherit from BusinessListBase verses BusinessBindingListBase? They are both still available. [/quote] It is a sad situation Microsoft and the datagrid vendors have created. When Microsoft decided that WPF wouldn't fully support IBindingList...
-
Hi Rocky Any news on this? Apologies if this is something that's been implemented for CSLA 4.0 - haven't had the chance to test this out on 4.0 yet. I'm have a Silverlight project using CSLA 3.8.4 and the issue remains. I'm binding directly to the business object (MVVM will have to wait...
-
Thank you for the feedback. This has been discussed many times. The problem is that this change would conflict with Windows Forms behaviors, and a lot of people still use Windows Forms. Eventually I'm sure I'll make this change, but transition takes time. In the meantime there are good answers...
-
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...
-
This would work in most cases. In my case I need to databind to the (non-bindable) SelectedItems for both triggers. For that i'd like to use Rockys work around: csla : InvokeMethod.MethodParameter ="{ Binding ElementName =myGrid, Path =SelectedItems}" with a dependency property 'SelectedItems'...
-
This is where commanding really falls down. In CSLA 3.8 and higher you can use InvokeMethod or Execute - which do the same thing in slightly different ways - to replace commanding and execute methods on the DataContext. Though that still won't work with the WPF CslaDataProvider, because it doesn't...
-
Thank you for the reply. I was able to bind to the object and my data is saving, but I'm still having some trouble implementing the CslaDataProvider (would like to for the error handling if nothing else). Your first reply raises a bigger question. What would you recommend for an internet accessible...
-
I guess I could be more constructive... Binding to a CSLA object in a single Xaml browser app page is the same as binding to an object in a normal WPF form or usercontrol. It all works the same way.Create the object as a resource, or create a viewmodel as a resource or create a data provider as a resource...