Is there a way to have the docking panels dynamically resize when the browser window is resized ( vertically)? i got this done horizontally. but wondering how to do it vertically.
<telerik:RadDockLayout runat="server" ID="RadDockLayout1" OnSaveDockLayout="RadDockLayout1_SaveDockLayout"
OnLoadDockLayout="RadDockLayout1_LoadDockLayout" EnableEmbeddedSkins="false"
Skin="None">
<table style="table-layout: fixed;">
<tr>
<td id="left" style="width: 250px; height: 100%; vertical-align:top;">
<telerik:RadDockZone runat="server" ID="RadDockZoneLeftTop" Width="249px" BorderWidth="0"
Docks="1" Orientation="Vertical" FitDocks="true" HighlightedCssClass="CustomCssClass">
</telerik:RadDockZone>
<telerik:RadDockZone runat="server" ID="RadDockZoneLeftBottom" Width="249px" BorderWidth="0"
Docks="1" Orientation="Vertical" FitDocks="true" HighlightedCssClass="CustomCssClass">
</telerik:RadDockZone>
</td>
<td id="centre" style="width: 100%; height: 100%; vertical-align: top;">
</td>
<td id="right" style="width: 250px; height: 100%; vertical-align: top;">
<telerik:RadDockZone runat="server" ID="RadDockZoneRightTop" Width="249px" BorderWidth="0"
Docks="1" Orientation="Vertical" FitDocks="true" HighlightedCssClass="CustomCssClass">
</telerik:RadDockZone>
<telerik:RadDockZone runat="server" ID="RadDockZoneRightBottom" Width="249px" BorderWidth="0"
Docks="1" Orientation="Vertical" FitDocks="true" HighlightedCssClass="CustomCssClass">
</telerik:RadDockZone>
</td>
</tr>
</table>
</telerik:RadDockLayout>
I use this method to generate the Raddocks dynamically in page_init()
private RadDock CreateRadDockFromState(DockState state, int number)
{
RadDock dock = new RadDock();
dock.ID = string.Format("RadDock{0}", number);
dock.ApplyState(state);
dock.Closed = false;
dock.DockHandle = DockHandle.TitleBar;
dock.DockMode = DockMode.Docked;
dock.EnableRoundedCorners = true;
dock.EnableAnimation = true;
dock.DefaultCommands = Telerik.Web.UI.Dock.DefaultCommands.None;
dock.Width = Unit.Pixel(249);
dock.Height = Unit.Pixel(300);
DockCommand dc = new DockCommand();
dc.AutoPostBack = true;
dc.Name = "ShowWidgets";
dc.Text = "Show Widgets";
dock.Commands.Add(dc);
dock.Command += new DockCommandEventHandler(Show_Widgets);
dock.DockPositionChanged += new DockPositionChangedEventHandler(RadDock_DockPositionChanged);
dock.OnClientDockPositionChanged = "OnClientDockPositionChanged";
dock.OnClientDragStart = "OnClientDragStart";
dock.OnClientInitialize = "DockInit";
dock.Resizable = true;
return dock;
}