We have a complex UserControl with a lot of controls, but essentially it is composed of a WinForms ToolStrip, an UltraDockManager, many panels docked with the UltraDockManager and an UltraGrid with dock property set to Fill (all other controls are in the various panels). Thus the only controls not docked with the UltraDockManager are the ToolStrip and the UltraGrid.
Now, we want to change the ToolStrip to an UltraToolbarsManager. We add the UltraToolbarsManager and define a simple toolbar and a few tools just for testing, it is perfectly visible in the designer, above the ToolStrip. But when running the test form that hosts the UserControl (which is the only control in the form), the UltraToolbarsManager is not visible. No errors raised, just cannot see it at runtime.
I have tried a sample project, adding a DockManager, a panel and listview docked with the DockManager, an UltraGrid filling the rest and a WinForm ToolStrip (similar to the other project). Then add an UltraToolbarsManager, all within a UserControl, add the control to a form and it works fine. Both the toolstip and the toolbar from the UltraToolbarsManager are shown.
I also tried setting the DockWithinContainer via the code and it did not change anything (it was already set OK anyway to the hosting user control).
I also tried deleting the ToolStrip and commenting out all code using it, it did not help (no more toolbar in the form at runtime).
Unfortunately I cannot provide a sample that does not work, the code that does not work has too many dependencies to provide.
I have attached screenshots of the Designer view of the UserControl and of the non UI objects to give you an idea of the layout and complexity.
I suspect a problem between the DockManager and the ToolbarsManager due to docking... but cannot figure out why the simpler sample I have created works and not the complex one. Looking at the Designer code of the two projects user controls, I find no clue, the UltraToolbarsManager is defined the same way.
Hoping you can provide ideas or clues about what could be wrong or where to investigate.
Thanks in advance
Hi,
I suppose that this forum thread is duplicate with case CAS-82264-115CS7, so please look at my answer in the mentioned case. If you have any questions, do not hesitate to write me.
Regards
Hi Georgi,
i have the same Problem as described above. Can you please post a link to the Thread of the case CAS-82264-115CS7 ? I searched it but didn't found.
Greetings
Frank
Yes, you are right. The support case was opened about a week after having posted this forum. We will pursue with the support case. Maybe we could post here the final outcome (when available) for general knowledge sharing.
Thanks