Load bar layout exception when deleting nested barcommands

Docking/MDI for Windows Forms Forum

Posted 10 years ago by Chien A.
Version: 2.0.0099
Platform: Services
Environment: Windows XP (32-bit)
Avatar
It seems that if customisations have been saved for parent and child command links (differential) and then those barcommands are deleted at design-time, an exception is thrown during the next attempt to load the prior barlayout ("the tag 'CommandLink' may not be parent to a 'CommandLinks' tag").

Will email a modified test app and saved barlayout via email but that's the general gist of it.

Using .99, but didn't look like any of the previous updates since addressed this issue.

Comments (3)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks, we'll take a look at your sample.


Actipro Software Support

Posted 8 years ago by Mike O
Avatar
Was this ever solved? I'm getting something similar:

Exception Message: An error occurred while loading the layout data:
The tag 'DockableToolBars' may not be parent to a 'DockedStateInfo' tag.

This occurs when I try and set BarManager.DifferentialBarLayoutData in 2.0.107
Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Mike, I believe build 106 fixed Chien's issue.

If you have another problem, first try the latest build to see if it still happens with that. If so then please put together a new simple sample project that shows it and email it over with steps to reproduce. Rename the .zip file so it doesn't get spam blocked.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.