Hello,
I am having trouble displaying the splitter without borders with scroll bars to fit within the browser window. I want the pane to size with the window size. Can anyone look at my code and see where I am going wrong?
I have tried everything that I have found on these forums.
IE6 shows the panes and text but the browser has both scroll bars.
FF3 display the splitter bar only at about 40px high and the text in the paragraphs disappears right after the page has loaded.
Thanks
MasterPage
Splitter.aspx
I am having trouble displaying the splitter without borders with scroll bars to fit within the browser window. I want the pane to size with the window size. Can anyone look at my code and see where I am going wrong?
I have tried everything that I have found on these forums.
IE6 shows the panes and text but the browser has both scroll bars.
FF3 display the splitter bar only at about 40px high and the text in the paragraphs disappears right after the page has loaded.
Thanks
MasterPage
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="MasterPages_Main" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title></title> |
<style type="text/css"> |
#mainpage { position:relative; z-index:100000; } |
#headersection { width: 99%; } |
</style> |
<asp:ContentPlaceHolder id="head" runat="server"> |
</asp:ContentPlaceHolder> |
</head> |
<body> |
<form id="form1" runat="server"> |
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" /> |
<div id="mainpage"> |
<div id="headersection"> |
Page Header |
</div> |
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server"> |
</asp:ContentPlaceHolder> |
</div> |
</form> |
</body> |
</html> |
Splitter.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true" CodeFile="Splitter.aspx.cs" Inherits="Splitter" %> |
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> |
</asp:Content> |
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> |
<div style="border: solid 1px #00ff00; height:100%; margin: 0px; padding: 0px; |
overflow: hidden;"> |
<telerik:RadSplitter ID="RadSplitter1" runat="server" Skin="Outlook" height="100%" width="100%" |
BorderSize="0" BorderWidth="0" OnClientLoaded=""> |
<telerik:RadPane ID="Pane1" runat="server" Scrolling="Y" MinHeight="85" width="225px"> |
<div> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
<p>hhgggggggg</p> |
<p>hh</p> |
<p>hh</p> |
<p>hh</p> |
</div>dee |
</telerik:RadPane> |
<telerik:RadSplitBar ID="Splitter1" runat="server" CollapseMode="Forward" |
CollapseExpandPaneText="Collapse/Expand Summary and Alerts" /> |
<telerik:RadPane ID="Pane2" runat="server" >sd |
</telerik:RadPane> |
</telerik:RadSplitter> |
</div> |
</asp:Content> |