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

How can i remove the dock icon?

2 Answers 77 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Luis
Top achievements
Rank 1
Luis asked on 22 Feb 2010, 07:16 PM
hello

in a Radpane how can i remove the dock and collapse icons?

thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetie
Telerik team
answered on 25 Feb 2010, 11:25 AM
Hello Luis,
In order to remove the dock icon from the RadSlidingPane control, you can simply set EnableDock="false":
<telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Test" EnableDock="false"></telerik:RadSlidingPane>

There is no property however, that hides the collapse icon. You can do this either with JavaScript or with CSS:
<head runat="server">
    <title></title>
    <style type="text/css">
    .CustomSlidingPaneIcons .rspSlideHeaderIconWrapper
    {
        display:none !important;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadSplitter ID="RadSplitter1" runat="server" CssClass="CustomSlidingPaneIcons">
        <telerik:RadPane ID="RadPane1" runat="server" Width="22px" Scrolling="None">
            <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" ExpandedPaneId="RadSlidingPane1">
                <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Test" EnableDock="false"></telerik:RadSlidingPane>
            </telerik:RadSlidingZone>
        </telerik:RadPane>
        <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Both"></telerik:RadSplitBar>
        <telerik:RadPane ID="RadPane2" runat="server"></telerik:RadPane>
    </telerik:RadSplitter>
    </form>
</body>


Kind regards,
Tsvetie
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.
0
Luis
Top achievements
Rank 1
answered on 25 Feb 2010, 12:29 PM
thanks
Tags
Splitter
Asked by
Luis
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Luis
Top achievements
Rank 1
Share this question
or