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

Hiding Expand/Collapse Image

4 Answers 98 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Todd A
Top achievements
Rank 1
Todd A asked on 27 Jul 2010, 10:11 PM
In a post I found -- I used the below code to hide the expalnd and collapse image on the panel bar.

<style type="text/css">  
    div.RadPanelBar .rpExpandable .rpText,  
    div.RadPanelBar .rpExpanded .rpText  
    {  
        background-image:none;  
    }  
</style>

Which worked great, until I upgraded to the latest 2010 Q2 dll.  I was using the 2009 Q3 dll. 

It would be great if there was a property for this -- although I don't see anything like that.   Any ideas?

Thanks,
Todd.

4 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 28 Jul 2010, 08:40 AM
Hello Todd,

Try the following CSS on page to hide the expand/collapse images of RadPenlBar.

CSS:
<style type="text/css">
    .rpExpandHandle
    {
        display: none !important;
    }
     .rpCollapseHandle
    {
        display: none !important;
    }
</style>



-Shinu.
0
Todd A
Top achievements
Rank 1
answered on 28 Jul 2010, 03:31 PM
That fixed it.  Thank you.
0
Ryan Pope
Top achievements
Rank 1
answered on 29 Oct 2013, 05:49 PM
Instead of hiding the image, how do I move it from the left side to the right side?
Example in the attached image
0
Shinu
Top achievements
Rank 2
answered on 30 Oct 2013, 02:59 AM
Hi Ryan Pope,

By default expand/collapse image of the RadPanelBar is  on the right side. Please have a look into the sample code.

ASPX:
<telerik:RadPanelBar ID="RadPanelBar1" runat="server">
    <Items>
        <telerik:RadPanelItem Text="Item1" runat="server">
            <Items>
                <telerik:RadPanelItem Text="Item1.1" runat="server">
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Item1.2" runat="server">
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>

You can use the float property which specifies whether a box/element should float to the left,right or not at all.

Thanks,
Shinu.
Tags
PanelBar
Asked by
Todd A
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Todd A
Top achievements
Rank 1
Ryan Pope
Top achievements
Rank 1
Share this question
or