How can i remove the dock icon?

3 posts, 1 answers
  1. Luis
    Luis avatar
    23 posts
    Member since:
    Mar 2009

    Posted 22 Feb 2010 Link to this post

    hello

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

    thanks
  2. Answer
    Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 25 Feb 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Luis
    Luis avatar
    23 posts
    Member since:
    Mar 2009

    Posted 25 Feb 2010 Link to this post

    thanks
Back to Top