No property changed notification on BusinessBase<T> properties like IsValid? (CSLA 4)

No property changed notification on BusinessBase<T> properties like IsValid? (CSLA 4)

Old forum URL: forums.lhotka.net/forums/t/9942.aspx


Dane posted on Saturday, January 15, 2011

Change notification is working correctly on the properties I've defined on my concrete business object class but the IsValid property is not exibiting property change notification behaviour.

JonnyBee replied on Saturday, January 15, 2011

This a legacy from Windows Forms databinding and continued support for Windows Forms in Csla4. WinForms databinding imposes a number of restrictions and should only get change notification on data properties.

Csla.Xaml.ViewModel<T> will give you properties like CanSave (ie: IsDirty and IsValid) that uses change notification and is recommended for use with WFP and Silverlight.

 

 

Dane replied on Saturday, January 15, 2011

Excellent!  Thanks for the info.

Copyright (c) Marimer LLC