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

Empty RadPanelBarItem

4 Answers 118 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Orit
Top achievements
Rank 1
Orit asked on 23 Jul 2009, 09:05 AM
Hello

I use  the RadPanelBar control
I build the hirarchy in the xaml page
some of the items have no children but thy still have the arrow (<) in the side
how can I remove it?

here is the code
<telerikNavigation:RadPanelBar x:Name="pb" Margin="5" Width="180" BorderBrush="#9098a3" 
                    BorderThickness="1" HorizontalAlignment="Left" ExpandMode="Multiple">  
            <telerikNavigation:RadPanelBarItem> 
                <telerikNavigation:RadPanelBarItem.Header> 
                    <TextBlock Text="מבט ענף" Height="13" Margin="5 2 5 2" /> 
                </telerikNavigation:RadPanelBarItem.Header> 
                <telerikNavigation:RadPanelBarItem Header="תוכניות עבודה" /> 
                <telerikNavigation:RadPanelBarItem Header="ממתינות לתקצוב" /> 
                <telerikNavigation:RadPanelBarItem Header="הצעות לתוכנית" /> 
            </telerikNavigation:RadPanelBarItem> 
            <telerikNavigation:RadPanelBarItem> 
                <telerikNavigation:RadPanelBarItem.Header> 
                    <TextBlock Text="מבט מחלקה" Height="13" Margin="5 2 5 2" /> 
                </telerikNavigation:RadPanelBarItem.Header> 
                    <telerikNavigation:RadPanelBarItem Header="תוכניות עבודה" /> 
                    <telerikNavigation:RadPanelBarItem Header="ממתינות לתקצוב" /> 
                    <telerikNavigation:RadPanelBarItem Header="הצעות לתוכנית" /> 
                </telerikNavigation:RadPanelBarItem> 
                        <telerikNavigation:RadPanelBarItem IsEnabled="True">         
                    <telerikNavigation:RadPanelBarItem.Header> 
                        <TextBlock Text="ניהול המערכת" Height="13" Margin="5 2 5 2" /> 
                    </telerikNavigation:RadPanelBarItem.Header> 
                </telerikNavigation:RadPanelBarItem> 
             
        </telerikNavigation:RadPanelBar> 

Thanks.

4 Answers, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 27 Jul 2009, 02:44 PM
Hello Orit,

It is a known issue that items without any children still have the expander arrow visible. This issue is scheduled for fixing and will resolved in our 2009 Q3 release.

With the current binaries what you can do is manually change the template of items that have no children. I prepared a sample project that demonstrates how to do that. Please take a look at it and let me know if you have any questions.

Regards,
Tihomir Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Orit
Top achievements
Rank 1
answered on 28 Jul 2009, 05:16 AM
Thanks! It looks great
But there is a little bug
when I select an item
and then select the empty item
the last item is still "open" and has the orange color
(looks like its selected) 
0
César
Top achievements
Rank 1
answered on 19 Aug 2010, 05:58 PM
I am using RadControls for WPF Q2 2010 and still experience this issue with an empty (without children) RadPanelBarItem still showing the expander arrow.  Do I still need to manually change the template of items with no children or is there an easier way to overcome this problem?

Thank you,
César

 

0
Tina Stancheva
Telerik team
answered on 24 Aug 2010, 08:03 AM
Hi César,

Currently there are two approaches that can be used to remove the expander arrow on RadPanleBarItems that don't contain more items. For more information, you can check this forum post.

However, we are currently working on improving the RadPanelBar control so stay tuned for updates.

Greetings,
Tina Stancheva
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
Tags
PanelBar
Asked by
Orit
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Orit
Top achievements
Rank 1
César
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or