CslaActionExtender and exception during Save

CslaActionExtender and exception during Save

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


detritus posted on Friday, October 17, 2008

I don't know if this is by-design or a bug: If I got an exception during save operation while using CslaActionExtender, binding source's datasource becomes null. I think making datasource null is on purpose but not to be able from an exception and put old datasource back may be a bug).

For now, I got around this by handling ErrorEncountered event and do a rebind there with the BO reference I hold in a private field, is this the expected behaviour / recommended method?

Thanks,
Sinan

Copyright (c) Marimer LLC