Hello guys,
I want to make radsplitter get height from its content dynamically, not static height. I mean I don't want splitter to have scroll bars, instead using explorer natural scroll bars. Splitter has 2 panes; the left pane is a radpane menu which is higher than entire window and the right pane is a dynamic content with arbitrary heights. In this case I get 2 annoying scroll bars or my contents are hidden. I don't want either case. I want simply one scroll bar on explorer and to achieve this splitter have to get height from content dynamically.
This was OK inTelerik 2008 but in Telerik 2009 I have this problem.
This is a sample code showing the problem:
I would thanks in advance for any help.
Regards.
I want to make radsplitter get height from its content dynamically, not static height. I mean I don't want splitter to have scroll bars, instead using explorer natural scroll bars. Splitter has 2 panes; the left pane is a radpane menu which is higher than entire window and the right pane is a dynamic content with arbitrary heights. In this case I get 2 annoying scroll bars or my contents are hidden. I don't want either case. I want simply one scroll bar on explorer and to achieve this splitter have to get height from content dynamically.
This was OK inTelerik 2008 but in Telerik 2009 I have this problem.
This is a sample code showing the problem:
<%@ Page Language="VB" AutoEventWireup="true" %> |
<%@ 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 id="Head1" runat="server"> |
<title></title> |
</head> |
<body> |
<form id="form2" runat="server"> |
<asp:ScriptManager ID="ScriptManager" runat="server" /> |
<telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Outlook" Width="100%" |
Height="930"> |
<telerik:RadPane ID="LeftPane" runat="server" Width="200" MinWidth="150" MaxWidth="400"> |
<div style="background-color: GrayText; height: 920px;"> |
This is a static menu. Height is 920px. |
</div> |
</telerik:RadPane> |
<telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" /> |
<telerik:RadPane ID="ContentPane" runat="server"> |
<div style="background-color: Gray; height: 5000px;"> |
This is a dynamic content. Current height is 5000px. |
<br /> |
I want splitter height be 5000px dynamically. |
</div> |
</telerik:RadPane> |
</telerik:RadSplitter> |
</form> |
</body> |
</html> |
I would thanks in advance for any help.
Regards.