This is a migrated thread and some comments may be shown as answers.

Can't disable 1px Black Border on RadSplitter

2 Answers 121 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Geoff Van Brunt
Top achievements
Rank 1
Geoff Van Brunt asked on 05 Oct 2007, 02:27 AM
I have tried to apply:
BorderWidth="0px" BorderStyle="0"
also
Skin="CustomSkin" EnableEmbeddedSkins="False"
and also
setting the same things to the RadPanes
BUT
still there is a 1px black border around each pane.
I checked the tag out in Firebug and it says the style is coming from the ELEMENT not some style sheet. So it appears the style is being embeded in the tag at runtime. Is this a bug?

is there ANY way to remove this border?


Thanks

2 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 08 Oct 2007, 06:52 AM
Hello Geoff Van Brunt,
Please review our online article, that describes how you can achieve the desired behavior.

For example:
<head runat="server">  
    <title>Untitled Page</title> 
    <link href="Skins/Default2006/Splitter.Default2006.css" rel="stylesheet" type="text/css" /> 
</head> 
<body> 
    <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
          
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Skin="Default2006"   
            EnableEmbeddedSkins="false" PanesBorderSize="0" BorderSize="0">  
            <telerik:RadPane ID="RadPane1" runat="server">1</telerik:RadPane> 
            <telerik:RadPane ID="RadPane2" runat="server">2</telerik:RadPane> 
        </telerik:RadSplitter> 
    </form> 
</body> 

Splitter.Default2006.css:
.RadSplitter_Default2006 .pane,      
.RadSplitter_Default2006 .paneHorizontal,  
.RadSplitter_Default2006    
{     
    border: 0px;     
}  


Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tsvetie
Telerik team
answered on 08 Oct 2007, 06:56 AM
Hello Geoff Van Brunt,
Actually, as you use the RadSplitter Prometheus, all you need to set is PanesBorderSize="0" and BorderSize="0".

Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Splitter
Asked by
Geoff Van Brunt
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or