A have a Devexpress treelist populated with a BO (using BussinessDataSource), and a second BO (the primary Forms BO) and a MaintenanceFormBarManager.
When I edit the BO and click the save button, the treelist FocusedNodeChanged event fires some times before the BO is saved. I use this event to change the primaryBO object and retrieve the BO selected in the tree, therefore, I cant save changes, because before it gets saved, the events fire and change my BO several time.
I have done a workarround checking in the FocusedNodeChanged if the BO is dirty but I think this is a bug or I'm missing something. Why when I click on the MaintenanceFormBarManager Save button, the treelist FocusedNodeChanged is fired?
I have done some test.
If a call the BO.Save() event, all works fine.
If a call the Form.Save() event, the same issue occur (the treelist focusednodechanged event fires). Is this a Devexpress bug?
Thanks,
Alex B.