Hi All,
I got this RadSplitter test page which takes 100% of the browser's height.
But this only seems working when there is no content before the splitter. If I have some other content above the div that contains RadSplitter this is not working. I am expecting the RadSplitter to take the remaining height available (leaving 120px on top).
Please help me to achieve this. I have tested this in IE 8 and FF 3.5.
Please note I have added
Thanks.
I got this RadSplitter test page which takes 100% of the browser's height.
But this only seems working when there is no content before the splitter. If I have some other content above the div that contains RadSplitter this is not working. I am expecting the RadSplitter to take the remaining height available (leaving 120px on top).
Please help me to achieve this. I have tested this in IE 8 and FF 3.5.
Please note I have added
<
div style="height:120px;">
some other content
</div>
on top of the div that contains RadSplitter.
<%@ Page Language="C#" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title>Testled Page</title> |
<style type="text/css"> |
html, body, form |
{ |
height: 100%; |
margin: 0px; |
padding: 0px; |
} |
</style> |
</head> |
<body> |
<form id="form1" runat="server"> |
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
</asp:ScriptManager> |
<div style="height:120px;"> |
some other content |
</div> |
<div style="height:100%;"> |
<telerik:RadSplitter ID="s1" runat="server" Orientation="Horizontal" Height="100%" Width="100%"> |
<telerik:RadPane ID="p1" runat="server" Height="150px"> |
NAME: |
<asp:Label ID="NAMELabel" runat="server" Text="TESTER"></asp:Label> |
<br /> |
</telerik:RadPane> |
<telerik:RadSplitBar ID="b1" runat="server" CollapseMode="Both" /> |
<telerik:RadPane ID="P2" runat="server"> |
DESCRIPTION: |
<asp:TextBox ID="DESCRIPTIONTextBox" runat="server" Text="Test Splitter."></asp:TextBox> |
<br /> |
</telerik:RadPane> |
</telerik:RadSplitter> |
</div> |
</form> |
</body> |
</html> |
Thanks.