I would like Non persistent objects to be batch editable. In the attached sample project, I am getting a NullReferenceException when I try this. In the attached project, the receipt object has 2 collections - a traditional persistent collection called ReceiptDetails and a Binding List of non persistent objects called allocations. Setting AllowEdit to True and InlineEditMode to Batch works like a dream on the persistent collection. However, when I try the same on the Binding List, I get a NullReferenceException.
Please help, I have a use case that radically needs to minimize post backs.
I appreciate your patience, Ndehi. This scenario is not currently supported. A NonPersistentObjectSpace instance required to edit non-persistent objects can be created only for root Views only. A nested View uses its parent ObjectSpace. It's a persistent XPObjectSpace in this scenario. I suggest you use the approaches provided in the How to show the New, Delete and Edit actions in a nested ListView with non-persistent objects and How to create and edit non-persistent objects in a nested ListView of a parent DetailView for a persistent object tickets to resolve the issue.