Hi Itye,
This particular issue is due to the specific layout, and you can observe the same behavior even without the splitter on the page. The problem comes from the fact that an element (in the provided page the ASP:Panel wrapping the splitter) have set height to 100% and it is not the only child of the parent element:
You can observe this same behavior using the following sample HTML:
In order to avoid this issue I would recommend you to use another splitter to separate the two panels in two different RadPanes, e.g.:
<head id="Head1" runat="server">
<title></title>
<style type="text/css">
html, body, form
{
height: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
body
{
background-color: #FFFFFF;
font-size: 12px;
font-family: Arial;
direction: rtl;
}
#main
{
height: 100%;
}
</style>
</head>
<body>
<form id="form2" runat="server">
<asp:ScriptManager ID="ScriptManager" runat="server">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
</Scripts>
</asp:ScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableOutsideScripts="true"
EnablePageHeadUpdate="False">
</telerik:RadAjaxManager>
<div id="main">
<telerik:RadSplitter ID="WrapperSplitter" runat="server" Width="100%" Height="100%"
Orientation="Horizontal">
<telerik:RadPane ID="HeaderPane" runat="server" Height="45px">
<asp:Panel ID="Panel1" runat="server" Height="45">
header
</asp:Panel>
</telerik:RadPane>
<telerik:RadPane ID="MainPane" runat="server">
<asp:Panel ID="Panel2" runat="server" Height="100%">
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
<telerik:RadSplitter ID="NestedSplitter" runat="server" LiveResize="true" Height="100%"
Width="100%" ResizeWithParentPane="false">
<telerik:RadPane ID="LeftPane" runat="server" Width="200px" MinWidth="150" MaxWidth="400">
main menu
</telerik:RadPane>
<telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Backward" />
<telerik:RadPane ID="ContentPane" runat="server" Scrolling="None">
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
<telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%"
Orientation="Horizontal">
<telerik:RadPane ID="TopPane" runat="server" Scrolling="Y" Height="30%" MinHeight="100"
CssClass="TopPane">
top content
</telerik:RadPane>
<telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="Forward" />
<telerik:RadPane ID="RadPane1" runat="server" Scrolling="Y" Height="70%">
<div style="height: 1000px; background-color: Orange; margin: 10px;">
edit content</div>
</telerik:RadPane>
</telerik:RadSplitter>
</telerik:RadAjaxPanel>
</telerik:RadPane>
</telerik:RadSplitter>
</asp:Panel>
</telerik:RadPane>
</telerik:RadSplitter>
</div>
</form>
</body>
</html>
I hope this helps.
All the best,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now