Hi,
I have a splitter with two Panes on my page and depending on how much content there is in it I want the splitter to expand completely to prevent a scroll in one of the panes.
It almost work if I set the height of the html, body, form and the splitter tags to 100%.
The problem is when there is more content in one of the panes then the browser window height (100%), then the pane adds a scroll so I get two scrolls, one in the pane and one in the browser. And I just want the browser scroll!
So I tried to replace every height:100% from the html to the splitter tags to min-height:100% instead with no success.
Maybe I missed some property but is it possible to remove the panes scrolls and have the splitter to min-height:100% because I want the splitter to show to the bottom of the page even if there isn't so much content.
Some example code:
Regards,
Mattias
I have a splitter with two Panes on my page and depending on how much content there is in it I want the splitter to expand completely to prevent a scroll in one of the panes.
It almost work if I set the height of the html, body, form and the splitter tags to 100%.
The problem is when there is more content in one of the panes then the browser window height (100%), then the pane adds a scroll so I get two scrolls, one in the pane and one in the browser. And I just want the browser scroll!
So I tried to replace every height:100% from the html to the splitter tags to min-height:100% instead with no success.
Maybe I missed some property but is it possible to remove the panes scrolls and have the splitter to min-height:100% because I want the splitter to show to the bottom of the page even if there isn't so much content.
Some example code:
<html> |
<head> |
<style type="text/css"> |
html, body, form, .radSplitter, .radSplitterMain, .radSplitterNews { min-height:100% } |
</style> |
</head |
<body> |
<div style="min-height:100%"> |
<telerik:RadSplitter ID="RadSplitter1" Runat="server" CssClass="radSplitter" |
ResizeWithParentPane="False" VisibleDuringInit="false" Width="100%" |
PanesBorderSize="0" BorderSize="0"> |
<telerik:RadPane id="MainPane" runat="server" BorderWidth="0" CssClass="radSplitterMain"> |
text, text, a lot of text!!! |
</telerik:RadPane> |
<telerik:RadSplitBar id="RadSplitbar1" runat="server" CollapseMode="Backward"></telerik:RadSplitBar> |
<telerik:RadPane id="RightPane" runat="server" width="200" Scrolling="None" BorderWidth="0" CssClass="radSplitterNews"> |
text, text |
</telerik:RadPane> |
</telerik:RadSplitter> |
</div> |
</body> |
</html> |
Regards,
Mattias