Empty RadPanelBarItem

5 posts, 0 answers
  1. Orit
    Orit avatar
    97 posts
    Member since:
    Jun 2009

    Posted 23 Jul 2009 Link to this post

    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.
  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 27 Jul 2009 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Orit
    Orit avatar
    97 posts
    Member since:
    Jun 2009

    Posted 28 Jul 2009 Link to this post

    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) 
  5. César
    César avatar
    1 posts
    Member since:
    Jul 2010

    Posted 19 Aug 2010 Link to this post

    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

     

  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 24 Aug 2010 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready