I'm quite sure that this is a conflict bug between Dock Manager and Toolbars Manager. It happens even when I've already updated to the latest version (2033). This is how to replicate the problem:
In a new form, add a Toolbars Manager. Add some toolbars and some tools.
Add a Dock Manager. Add two Panes: one docked to the left and one docked to the right (can use any controls inside the panes).
Start Debugging the program. Exit the program to return to VS. The Toolbars Component will disappear. I have to close the form and reopen to make it appear again. However, if I save the form after it disappears, the component will be deleted permanently from the form.
If I delete the Dock Manager then the bug is gone. I think the problem comes from the ToolbarsDockArea and UnpinnedTabArea, but it's just my guess.
One more question: when I group two or more DockableWindows in a Pane, when I unpin it, why can I see only one name.
I have the screenshots but don't know how to upload them here.
The problem often occurs when adding or removing tools from the UltraWinToolbar or switching between show Ribbon and hide Ribbon. I have never had a PropertyGrid on the form at the time.
I can only reproduce this issue by placing a PropertyGrid on the Form and running it. Do your Forms have a PropertyGrid on it at design time? If so, this is a bug with the PropertyGrid control which affects the UltraToolbarsManager. To get around the issue, set the SelectedObject of the PropertyGrid at design time.
If the Form does not have a PropertyGrid, please provide more information about how to reproduce the issue or a sample which demonstrates the issue. Thank you for any help you can provide.
thanks for the suggestion. will try this. lost a bunch of time trying to restore the form until i came up with an approach that works.
however, it is very annoying that it happens at all. happened in spacing of about a week - now three times today. a permanent resolution would be great from infragistics.
I have been able to repair the problem. What seems to occur is the UltraToolbarsManager.DockWithinContainer property loses its value. Reset the value to dock within your form and the Toolbar reappears.
KSimmons
I have this exact same problem....
The error occurs on an MDI form with a Dock Manager, Toolbar Manager and TabbedMDI Manager...
It occurs every time any change is made to the designer of the MDI form, whether it be a change to the form itself, or any of its components and controls...
Upon running the program, the form in the designer loses its toolbar and entire top dock area turns black...the program runs and the toolbar is in the running program.
Closing the program and returning to design the toolbar does not come back, and I am left with a black rectangle where the top dock area is. If I close the designer view and reopen it the toolbar comes back...
In all cases the actual component disappears as well...despite the fact that all references to it in code remain.
Once again the only solution is to close the form design window and then reopen it...
Total pain and fear everytime you run the app worrying about this...
SWhit