Hi,
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.
<%@ Register Namespace="Telerik.Web.UI.Debug" TagPrefix="debug" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
<
style
type
=
"text/css"
>
.dock70
{
height: 70% !important;
}
.dock30
{
height: 30% !important;
}
</
style
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
asp:ScriptManager
>
<
script
type
=
"text/javascript"
>
//Put your JavaScript code here.
</
script
>
<
div
>
<
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"
CssClass
=
"dock70"
>
<
ContentTemplate
>
Dock's Content 70%
</
ContentTemplate
>
</
telerik:RadDock
>
<
telerik:RadDock
ID
=
"RadDock2"
runat
=
"server"
Title
=
"RadDock-Title"
Width
=
"300px"
CssClass
=
"dock30"
>
<
ContentTemplate
>
Dock's Content 30%
</
ContentTemplate
>
</
telerik:RadDock
>
</
telerik:RadDockZone
>
</
telerik:RadDockLayout
>
</
div
>
</
form
>
</
body
>
</
html
>