This is a migrated thread and some comments may be shown as answers.

Resizing to 100%

1 Answer 115 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Anne Chinn
Top achievements
Rank 1
Anne Chinn asked on 07 Jul 2008, 10:08 PM
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>

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 08 Jul 2008, 04:02 PM
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
Tags
Splitter
Asked by
Anne Chinn
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or