Tab Image Display Incorrect

2 posts, 1 answers
  1. Shahryar Ali
    Shahryar Ali avatar
    10 posts
    Member since:
    Jan 2010

    Posted 13 May 2010 Link to this post

    I have inserted sliding panes with the TabView="ImageOnly" and IconUrl properties set.  This worked, but the appearance is odd because the image only fills the center portion of the tab - the edges of the tab still have a Gray color.

    I saw a previous thread where the solution suggested by a Telerik support rep was to set the Width property of the tab.

    So, my question is, if that is the correct solution, how do you set the Width of the tab?  I tried inserting a Width property into the RadSlidingZone, RadSlidingPane, no luck.  The Tab has an IconUrl property set, but there's extra space around both sides of the image, and it looks odd.

  2. Answer
    Tsvetie avatar
    1517 posts

    Posted 15 May 2010 Link to this post

    Hi Shahryar Ali,
    I already posted the answer to your question in the other forum thread - For your convenience, I give you the information here as well:

    The extra space that you see is a result of the padding and margin style settings, defined in the skin of the splitter control. In case you want to remove those, you can use the following CSS selectors:
    Copy Code
    <head runat="server">
        <style type="text/css">
            .RadSplitter .rspTop div.rspPaneTabContainer,
            .RadSplitter .rspBottom div.rspPaneTabContainer
                padding: 0;
            .RadSplitter .rspPaneTabContainer .rspPaneTabIcon
                margin: 0;
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Horizontal">
            <telerik:RadPane ID="RadPane1" runat="server" Height="50px" Scrolling="None">
                <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" SlideDirection="Bottom"
                    <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Pane 1" TabView="ImageOnly"
            <telerik:RadPane ID="RadPane2" runat="server">
            <telerik:RadPane ID="RadPane3" runat="server" Height="50px" Scrolling="None">
                <telerik:RadSlidingZone ID="RadSlidingZone2" runat="server" SlideDirection="Top"
                    <telerik:RadSlidingPane ID="RadSlidingPane2" runat="server" Title="Pane 1" TabView="ImageOnly"

    In case you want to make more changes to the skin of the splitter, I would recommend that you create a custom skin. For information on custom skins, please refer to our online documentation:

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top