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

How to remove RadPanelBar icon

4 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Reyaz
Top achievements
Rank 1
Reyaz asked on 29 Feb 2012, 07:49 AM
Hi Team,

I want to remove RadPanelBar icon. Please see the my requirement in image and suggest me the solution.

<telerik:RadPanelBar runat="server" ID="Rad" Width="100%" ExpandMode="MultipleExpandedItems">
            <Items>
                <telerik:RadPanelItem Expanded="True" Height="23px">
                    <Items>
                        <telerik:RadPanelItem Value="0">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Expanded="True" Height="23px">
                    <Items>
                        <telerik:RadPanelItem Value="1">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Expanded="True" Height="23px">
                    <Items>
                        <telerik:RadPanelItem Value="2">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>


Many Many Thanks in Advance.

Regards,
Reyaz

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Feb 2012, 08:17 AM
Hello,

Try the following css.
CSS:
<style type="text/css">
 .RadPanelBar_Default .rpExpanded span.rpExpandHandle
  {
   display: none !important;
  }
</style>

Thanks,
Princy.
0
Reyaz
Top achievements
Rank 1
answered on 29 Feb 2012, 08:21 AM
Please review the my requirement once again. its not working also for all.

Regards,
Reyaz
0
Accepted
Kate
Telerik team
answered on 29 Feb 2012, 01:44 PM
Hello Reyaz,

You can assign a css class to the RadPanelItem whose expand handler you need to remove. Then in the newly added css class you will need to set the background-image property to none like the example below:
<style type="text/css">    
        .new .rpOut .rpExpandHandle
        {
            background-image: none !important;
        }
      </style>

markup:
... <telerik:RadPanelItem runat="server" Text="Root RadPanelItem1" Value="A" CssClass="new"> ...

All the best,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Reyaz
Top achievements
Rank 1
answered on 29 Feb 2012, 01:55 PM
Thanks a ton !!!
Tags
General Discussions
Asked by
Reyaz
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Reyaz
Top achievements
Rank 1
Kate
Telerik team
Share this question
or