Propertystatus not working as expected

Propertystatus not working as expected

Old forum URL:

Adalton4 posted on Wednesday, October 13, 2010


I have a problem concerning the use of propertstatus.


My setup is CSLA 4.01/Silverlight/MVVM using ViewModel<T>


I followed the general way to handle this as per the demo's provided with the videos around Silverlight and MVVM. Basically, i set up the binding and make it do its job via a propertstatus object.


I have the following case: I display a readonly list where the user can select an item. This item is passed to the MVVM of the editable object, which goes to retrieve and display the object for edit, in the dataportal, CheckRules is performed because the object may be invalid. Or, the user can click on a new button to create a new item. When i create a new item, the dataportal forces also a CheckRules, so the UI shows an errorprovider for all the fields who are invalid. Now, the case is, when the user clicks on the add button, does nothing, and then decides to click in the RO list to retrieve an existing object, the errorproviders are still showing the same like the user just created the object, so it looks like they are not refreshed.

Can anybody help me in this please?





Copyright (c) Marimer LLC