-
I'm doing some multiple bindings to a single BO in WPF and would appreciate some feedback in case I'm going down a bad path. I have created a "ViewModelConductor(of M)" which will import child "ViewModel(of M)". The conductor will be responsible for the fetch/save/cancel/etc...
-
To use async/await properly you need to use it all the way down the call stack. That means the UI code that initializes the viewmodel needs to await that operation. You can't mark a constructor as async, nor can you await a constructor. So the old pattern of initializing the viewmodel via the constructor...
-
Hi, there I have a question: Which MVVM Framework should I use? Is caliburn micro good stuff? What do you think about cocktail? Do you recommend to use cocktail and caliburn micro together? I found Tiagos " Caliburn.Micro for Csla". Do you recommend it? ciu Manfred
-
I've got a Silverlight MVVM app. (CSLA.net 4.1) When compiling debug everything works fine. When I compile in release mode (like our build server) I have severe problems. All of my list item screens have entries but the databound values are all blank. When I attach a debugger I get TypeIntializer...
-
Hi folks, nearly a year ago I underwent the step to walk the SL-path. Meanwhile I'm happy to have done so, since I think SL has much potential to outclass winforms in terms of great UI's. (THAT and not architectural reasons in first line are imho most important for a UI-technology, since UI should...
-
The answer will be different depending on the MVVM UI framework you are using.
-
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...
-
It is hooked up via Bxf. See the section in the ebook that discusses how Bxf works, and specifically how it creates and initializes the view.
-
If I have a NVL object exposed to my view through a VM, and I want to add an extra item to the NVL that says "Make a selection" so that item can be the default in a combobox, should I add that extra item in the BO itself, or should I do it in my VM? I tried to add the extra item in the VM,...
-
The ViewModelBase class in Csla.Xaml is designed to manage a business object. It is only useful if you are using it to manage a business object, and you shouldn't bother with it for objects you don't need to manage. There's nothing to manage with a NVL, so ViewModelBase offers little or no...