Hi Andrew,
After having further investigated this issue, I would like to inform you that you would have to get hold of the merged ParentBarItem of the parent-child menus by invoking the GetMergedEquivalent method, and then dynamically add the BarItems to that one.
Often in a MDI scenario, ParentBarItems created during design-time in the MDI Parent and MDI children are merged together (if satisfying the merge criteria) into a new ParentBarItem which will replace the original in the menu structure. Once replaced, changes made to the original ParentBarItem, like adding a new BarItem will not be reflected in the merged one. So, you should access the merged item directly to add child BarItems.
The newly added BarItems will then stay until the merging is lost (could happen when a different child form gets activated, etc).
So, the recommended way is to keep all the required BarItems in the mainform''s ParentBarItem right from the beginning, before the merge, and show/hide them as necessary (instead of adding/removing them). I have also modified your previous sample accordingly and have
attached_it_here. Please refer to it and let me know if you need any other information. We appreciate your continued interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.