Validation object graph and Idataerrorinfo

Validation object graph and Idataerrorinfo

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


caste posted on Thursday, November 21, 2013

Hi all, 

I have a little problem with clsa (net 4.5, wpf), when I force validate a object graph with checkrules (example before save).

Business rules raise errors, but Idataerrorinfo will not notify to UI the errors. Only if I will force onproperychanged on each property error will be show on UI.

There are other method?

If csla net 4.5 for wpf would be implement InotifyDataErrorInfo instand of IDataErrorInfo, it's no better for avoid this problems?

Thanks.

caste

 

Copyright (c) Marimer LLC