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

How to hide the Expand/Collpse button in Panelbar

1 Answer 121 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Naresh
Top achievements
Rank 2
Naresh asked on 25 May 2011, 07:06 AM
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

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 25 May 2011, 06:06 PM
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.

Tags
PanelBar
Asked by
Naresh
Top achievements
Rank 2
Answers by
Helen
Telerik team
Share this question
or