How set Height Offset property

2 posts, 0 answers
  1. Guna
    Guna avatar
    12 posts
    Member since:
    Dec 2008

    Posted 06 Feb 2009 Link to this post

    How set Height Offset property nested Horizontal and vertical radspiltters?

    telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%" Orientation="Horizontal" SplitBarsSize="2" HeightOffset="????">

    <telerik:RadPane ID="TopPane" runat="server" Height="72" MinHeight="72" MaxHeight="120">



    <telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="None"/>

    <telerik:RadPane ID="MainPane" runat="server" Scrolling="none" MinWidth="500">

    <telerik:RadSplitter ID="NestedSplitter" runat="server"

    SplitBarsSize="8" HeightOffset="??????"  VisibleDuringInit="false">

    <telerik:RadPane ID="LeftPane" runat="server" Width="220">

    <telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal" SplitBarsSize="8" HeightOffset="??????" >

    <telerik:RadPane ID="RadPane1" runat="server" Height="75%" Width="100%">



    <telerik:RadSplitBar ID="RadSplitbar2" runat="server" CollapseMode="Backward"


    <telerik:RadPane ID="bottomPane" runat="server" Height="25%" Width="100%" >




    <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward"/>

    <telerik:RadPane ID="ContentPane" runat="server">

    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">








  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 09 Feb 2009 Link to this post

    Hi Guna,
    Please refer to our Making RadSplitter occupy part of a page with variable size online article for information about the HeightOffset property.

    Regarding setting the HeightOffset property of a nested RadSplitter, you have to set the following properties to that splitter:
    1. ResizeWithParentPane=false
    2. Width=100%
    3. Height=100%
    4. HeightOffset=200 (for example)
    You have to set ResizeWithParentPane=false, because the default value of this property is "true". This means that the nested RadSplitter becomes as high and as wide as its parent RadPane and resizes with it. That is why, by default, the nested RadSplitter does not respect the HeightOffset property.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top