or
Hi,
I need to remove the delete button binding
So click on Del button will not delete rows in grid
Best regards
Ehud

| public partial class Toolbar : UserControl |
| { |
| public Toolbar() |
| { |
| InitializeComponent(); |
| this.zoomMenu.ItemsSource = GetZoomMenuItems(); |
| } |
| private ObservableCollection<ZoomMenuItem> GetZoomMenuItems() |
| { |
| return new ObservableCollection<ZoomMenuItem>() |
| { |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=10, ZoomSettingText="10%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=25, ZoomSettingText="25%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=50, ZoomSettingText="50%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=75, ZoomSettingText="75%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=100, ZoomSettingText="100%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=200, ZoomSettingText="200%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=400, ZoomSettingText="400%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=600, ZoomSettingText="600%" }, |
| new ZoomMenuItem(){ IsSelected=false, ZoomSetting=800, ZoomSettingText="800%" } |
| }; |
| } |
| } |
| <BitmapImage x:Key="tickImage" UriSource="../Images/tick.png" DecodePixelWidth="10"/> |
| <Style x:Key="ZoomMenuItemStyle" TargetType="telerikNav:RadMenuItem"> |
| <Setter Property="Icon" Value="{Binding Source={StaticResource tickImage}}" /> |
| </Style> |
| <HierarchicalDataTemplate |
| x:Key="zoomMenuItemTemplate" |
| ItemsSource="{Binding ZoomMenuItem}"> |
| <TextBlock Text="{Binding ZoomSettingText}" /> |
| </HierarchicalDataTemplate> |
| <telerik:RadDropDownButton |
| x:Name="RadDropBtnZoom" |
| Height="20" |
| Width="15"> |
| <telerik:RadDropDownButton.DropDownContent> |
| <telerikNav:RadContextMenu |
| x:Name="zoomMenu" |
| Width="75" |
| BorderThickness="0" |
| ItemContainerStyle="{StaticResource ZoomMenuItemStyle}" |
| ItemTemplate="{StaticResource zoomMenuItemTemplate}"> |
| </telerikNav:RadContextMenu> |
| </telerik:RadDropDownButton.DropDownContent> |
| </telerik:RadDropDownButton> |

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"/> |
| </telerikNavigation:RadContextMenu> |
| </telerikNavigation:RadContextMenu.ContextMenu> |
| </Telerik:RadTreeView> |
If you see this message,please reply as soon as possible.I 'm very anxious. Thanks my friend.
