-
I'm experiencing some terrible performance with ViewModelBase (WPF) class. If changing Model properties or adding items to list, profiler is returning results that are hundreds of times slower then expected. I figured out that such performance is because of events attached in HookChangedEvents method...
-
We have a few Silverlight projects using CSLA, and specifically a viewmodel base class that ultimately inherits from Csla.Xaml.ViewModelBase<T> So I'm wondering how (if at all) one would use the async/await pattern with this view model. For example, the BeginRefresh ( factoryWithCallback )...
-
Yes, Rocky. I am starting another asynchronous operation in OnRefreshed overload method to fetch look up data and other general setting. So I am setting IsBusy property true in OnRefreshed method. But it set false when OnRefreshed call completed. Is there any way to set Isbusy property? Thanks.
-
Hi, I am using silverlight CSLA ViewModel. I am facing issue when set IsBusy property after OnRefreshed. I have set IsBusy property to true in override OnRefreshed method. It does not set. Then i have keep log _PropertyChanged event and i found that after completion of override OnRefreshed method, IsBusy...
-
G'day, I've been slowly replacing all my WinForms UI with XAML UI and in the process implemented the ViewModel approach to data binding. One of the great disconnects to this whole process seems to be the way "Design time data" can be used. Previously I looked at DesignTime_Create dataportal...
-
G'day, I'm using csla 3.8.4. What have I done wrong for the BusinessBase(of MyBusObj) not to fire the PropertyChanged event when I use the Csla.WPF.ViewModel. I've run out of ideas on how to resolve this. Scenario I've create a custom ViewModel in VB to handle a customer requirement to...
-
Hi Jonny, ViewModelBase; I think line 799 should call *On*SetProperties() instead of SetProperties(), possibly missed on refactoring when adding OnSetProperties() a while back. Cheers Peran
-
You can certainly add your own even when you create your viewmodel base class that inherits from ViewModelBase. The reason there isn't an event like that is because the most common usage scenario is the sort of thing you are talking about, and if one is not extremely careful you'll end up with...