How to hide the Expand/Collpse button in Panelbar

2 posts, 0 answers
  1. Naresh
    Naresh avatar
    16 posts
    Member since:
    Jan 2011

    Posted 25 May 2011 Link to this post

    Hi,
      i have build the menu using panel item. i have to hide the Expand/Collpse button of panel item,
     please find the attachment for image.

    Thanks,
    Nagarajan

  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 25 May 2011 Link to this post

    Hello Nagarajan,

    Please find below a sample code:

    <head runat="server">
        <title></title>
        <style type="text/css">
           .Test .rpOut .rpExpandHandle
            {
              visibility: hidden;
            }
         
        </style>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
     <telerik:RadPanelBar ID="RadPanelBar1" runat="server" ExpandMode="MultipleExpandedItems">
        <CollapseAnimation Duration="100" Type="None" />
        <Items>
            <telerik:RadPanelItem runat="server" Text="Root RadPanelItem1" CssClass="Test">
            <Items>
                <telerik:RadPanelItem runat="server">
                </telerik:RadPanelItem>
            </Items>
            </telerik:RadPanelItem>
            <telerik:RadPanelItem runat="server" Text="Root RadPanelItem2">
            <Items>
                <telerik:RadPanelItem runat="server">
                </telerik:RadPanelItem>
            </Items>
            </telerik:RadPanelItem>
        </Items>
        <ExpandAnimation Duration="100" Type="None" />
        </telerik:RadPanelBar>
    </div>

    Greetings,
    Helen
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top