Last Updated: 11 Jun 2021 14:25 by ADMIN
Created on: 05 Apr 2019 10:41
Category: UI for ASP.NET AJAX
Type: Feature Request
Automatically aligning the height of raddock control


It will be great to have a property in a raddock to automatically adjust its height/width to occupy the new space created when some other raddock in the layout is minimized. This will avoid the need for the user to adjust the height/width of the raddock which is still visible.


1 comment
Posted on: 12 Apr 2019 10:34
Hi Rathna,

Thank you for your feature request!

Setting Width and Height of the RadDock in percentage values is not supported, because of one main reason - in quite a lot of scenarios the Width and Height are computed dynamically, and are set to a fixed values in pixels. The scenarios involve: expanding and collapsing the dock, resizing the dock, dragging the dock in some specific cases.

So, if you still require Height in percents, you could enforce it using custom CSS, as shown in this code:

<%@ Register Namespace="Telerik.Web.UI.Debug" TagPrefix="debug" %>
<!DOCTYPE html>
<head runat="server">
    <style type="text/css">
            height: 70% !important;
            height: 30% !important;
    <form id="form1" runat="server">
    <asp:ScriptManager ID="RadScriptManager1" runat="server">
    <script type="text/javascript">
        //Put your JavaScript code here.
        <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
            <telerik:RadDockZone ID="RadDockZone1" runat="server" Height="100%" Width="300px">
                <telerik:RadDock ID="RadDock1" runat="server" Title="RadDock-Title" Width="300px"
                        Dock's Content 70%
                <telerik:RadDock ID="RadDock2" runat="server" Title="RadDock-Title" Width="300px"
                        Dock's Content 30%

Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.