Resizing to 100%

2 posts, 0 answers
  1. Anne Chinn
    Anne Chinn avatar
    15 posts
    Member since:
    Mar 2004

    Posted 07 Jul 2008 Link to this post

    I have followed the Resizing example and it is working when the splitter is the only content in the window.  But I am struggling with trying to have a banner displayed above the main content.  When it is there then the bottom of the splitter extends beyond the bottom of the browser window (due to overflow:hidden) and I can't figure out how to fix it.  Any suggestions?

    Thanks,

    Anne

    <

    html xmlns="http://www.w3.org/1999/xhtml">

    <

    head id="Head1" runat="server">

    <link rel="stylesheet" type="text/css" href="Styles.css" />

    <style type="text/css">

    html, body, form

    {

    height: 100%;

    margin: 0px;

    padding: 0px;

    overflow: hidden;

    }

    </style>

    </

    head>

    <

    body scroll="no" style="height:100%;margin:0">

    <form runat="server" id="mainForm" method="post">

    <asp:ScriptManager ID="ScriptManager" runat="server" />

    <div style="width:100%;height:100%">

        <telerik:RadSplitter runat="server" Width="100%" ID="MainSplitter" 
            Skin="Office2007"Height="100%" ResizeMode="EndPane">
        .......
       </telerik:RadSplitter>

    </

    div>

    </form>

    </

    body>

    </

    html>

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 08 Jul 2008 Link to this post

    Hello Anne,

    I am not quite sure about your exact setup - as far as I understood from your explanation, you want to show another element (e.g banner) above the RadSplitter and configure the RadSplitter to occupy 100% of the available area. I do not see this additional element in your code.

    If my assumption is correct, you should set the RadSplitter's HeightOffset property to the height of the element. Please also note, that you should upgrade to our latest, "Future" build which is released today because there was a problem with this property in the previous version (namely 2008.1 619).

    In case I have not understand you correctly, please open a new support ticket and me a sample, fully runnable reproduction project along with a detailed explanation of the desired behavior and some screenshots. Once I receive it, I will do my best to help.


    Kind regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top