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


1 Answer 222 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
thomas asked on 21 Jun 2010, 09:10 AM

       Hello!  you may have a look at the attach.why the horizontal scrollbar can't auto hide? how to solve this problem ?


<Telerik:RadTreeView Name="_treeView" ScrollViewer.VerticalScrollBarVisibility="Auto"  ScrollViewer.HorizontalScrollBarVisibility="Auto"  SelectionMode="Extended" ExpanderStyle="{StaticResource Expander}" local:TreeViewHelper.EnableRightClickSelection="True" MouseRightButtonDown="_treeView_MouseRightButtonDown" PreviewMouseRightButtonDown="_treeView_PreviewMouseRightButtonDown">  
            <telerikNavigation:RadContextMenu.ContextMenu > 
                <telerikNavigation:RadContextMenu  x:Name="radTreeViewMenu">  
                    <telerikNavigation:RadMenuItem Header="View In Master Document" Tag="View in Master Document"/>  
                    <telerikNavigation:RadMenuItem Header="Show PDF" Tag="SHOW PDF" IsEnabled="False"/>  
                    <telerikNavigation:RadMenuItem Header="Show PDF AT Division" Tag="Show PDF AT Division" IsEnabled="False"/>  
                    <telerikNavigation:RadMenuItem Header="Copy Division" Tag="Copy Division" IsEnabled="False"/>  
                    <telerikNavigation:RadMenuItem Header="Job Ticket" Tag="Job Ticket" IsEnabled="False"/>  

If you see this message,please reply as soon as possible.I 'm very anxious. Thanks my friend.

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 21 Jun 2010, 01:56 PM
Hello Thomas,

Please, accept our apologies for this inconvenience. We aware of this issue and was added to our public issue tracking system

I can propose the following workarounds:

    First: You can remove horizontal scrollbar when you set the property 
              ScrollViewer.HorizontalScrollBarVisibility="Hidden" of RadTreeViewControl.

    Second: If you don't need virtualization, you can change the ItemsPanel property of RadTreeViewItem. 

  Please find attached a project that demonstrates how to change the panel.

If you have further  questions please do not hesitate to ask us.

I hope this will help you.

All the best,
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
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question