edit level mismatch when child object not data boundedit level mismatch when child object not data bound
Old forum URL: forums.lhotka.net/forums/t/5524.aspx
Cosmin posted on Friday, October 03, 2008
Hi,
I've got a business object with a property that is another business object(Business Base).
Contract
Product(BusinessBase)
ContractItems(BusinessListBase)
I use the root object in multimple places but sometimes I don't display the inner object(Product, no binding on it).
If I don't bind the child, the root fails in applyedit() method with the edit level mismatch exception.
I'm curious how did you approach this scenario. There is no way I can make the child readonly as I need it editable in other places.
CSLA 3.0
Copyright (c) Marimer LLC