I have a RadDockLayout with two RadDockZones, one zone is static with a single RadDock control, the other RadDockZone is designed to be dynamic allowing the user to rearrange the orientation of the RadDock controls inside the RadDockZone. There are only two RadDock controls in the second zone. The orientation of the second zone is Horizontal.
One RadDock control width is set to 67% the other is set to 33% to fill 100% of the width of the RadDockZone. The height is set client-side to fill the available screen (these docks contain RadGrids with lots of data and scroll off the screen).
If the user attempts to move the RadDock control on the right side, to the left side, it is possible that the dock orientation changes and the controls become oriented vertically.
Also when re-orienting the RadDock controls to horizontal, they are no longer the width specified by the style. It is as if there is a hidden element taking up a percentage of the RadDockZone.
The only changes I am making to the controls is a client-side script that adjusts the height of the first child container in the RadDock control to force the RadDock height to fill the remaining portion of the screen.
Further testing indicates that some client-side scripting from the telerik client-model changes the width of the controls from a dynamic width using percentages, to a hard-coded width. Once the dock is dragged out of its location, the fixed width forces the dock to flow into another row, despite the DockZone being set to horizontal, because once the dock overflows, the scroll-bar appears and reduces the width of the parent container, thus restricting the ability to re-dock in a horizontal manner. Once this happens, it is nearly impossible to get the dock to re-orient itself in the correct location without a refresh of the page from the server.
One RadDock control width is set to 67% the other is set to 33% to fill 100% of the width of the RadDockZone. The height is set client-side to fill the available screen (these docks contain RadGrids with lots of data and scroll off the screen).
If the user attempts to move the RadDock control on the right side, to the left side, it is possible that the dock orientation changes and the controls become oriented vertically.
Also when re-orienting the RadDock controls to horizontal, they are no longer the width specified by the style. It is as if there is a hidden element taking up a percentage of the RadDockZone.
The only changes I am making to the controls is a client-side script that adjusts the height of the first child container in the RadDock control to force the RadDock height to fill the remaining portion of the screen.
Further testing indicates that some client-side scripting from the telerik client-model changes the width of the controls from a dynamic width using percentages, to a hard-coded width. Once the dock is dragged out of its location, the fixed width forces the dock to flow into another row, despite the DockZone being set to horizontal, because once the dock overflows, the scroll-bar appears and reduces the width of the parent container, thus restricting the ability to re-dock in a horizontal manner. Once this happens, it is nearly impossible to get the dock to re-orient itself in the correct location without a refresh of the page from the server.