I am trying to arrange the following within a TabPageControl (at design time).
1) A toolBar at the top of the control
2) a panel underneat to locate a few other controls
3)Below that a grid
4) Below that a Tab control
I want a horizontal split between 3) and 4) so that the user can adjust the relaytive sizes.
I have looked at the documentation on the dockManager and on the online help, but I must confess to being still unable to achieve this.
If I try to dock thins at the top they end above the toolbar. I can't find any samples of the use of the dock Manager.
I know th edock manager 'makes it easier' , but I find it totally beyond my comprehension.
Here's how I would probably accomplish this:
I would create a UserControl which has a SplitContainer. On the SplitContainer, set the Orientation to Horizontal and the Dock to Fill. Add a grid to the top panel and a tab control to the bottom panel and set both of their Dock properties to Fill. Add an UltraDockManager to the UserControl. Create the panel with the additional control, right-click it, select 'Dock Controls' from the context menu, and dock the panel to the top of the UserControl. Rebuild the solution.
Create another UserControl and add an UltraToolbarsManager to it and define your toolbar. Add an instance of the first UserControl to the fill panel added by the toolbars manager and set its Dock property to Fill. Rebuild the solution.
Add an instance of the second UserControl to the tab page control in the main form and set its Dock property to Fill.
I tried somethig very smiliar to this method. i created user control 1 that contains an ultradockmanager and two ultragrids. Both of the grids are contained in a split container with vertical orientiation. Everything looks fine on user control 1 . I then created user control 2 and added user control 1 to it. The grids on user control 2 are now outside of the panel boundaries even though they are inside the panel boundaries in user control 1. Can you explain why these grids are getting moved?
This sounds more like an issue with the grid or split container than the dock manager. I would recommend posting this issue on the WinGrid forum or submitting the issue to the support group: http://es.infragistics.com/gethelp.
Mike,
It works fine when I put the UltraGrid controls inside a group box instead of a SplitContainer. Can you explain why the controls have to be inside of a group box in order for the ultraDockManager to place them on the form correctly?
Walter
Please disregard the last post. I found out how to submit an issue.
How do I submit an issue to Infragistics for this?
It sounds to me like this isn't an issue with the dock manager. In fact, the dock manager does not interact with controls that are not dock panes, so it wouldn't matter what control the grids were inside of. This sounds like an issue with the SplitContainer. You can submit it to the support group if you'd like and its possible a workaround can be found or a problem will be found concerning the grid docked within a split container.