This question is locked. New answers and comments are not allowed.
Hi,
I have a RadCombobox and RadRibbonComboBox, with combobox being the ancestor.
<telerik:RadRibbonComboBox x:Name="RadComboBoxSearchText" Grid.Row="0" Grid.Column="2" Margin="4" MinWidth="120" VerticalContentAlignment="Center"
HorizontalAlignment="Stretch" VerticalAlignment="Top" IsSynchronizedWithCurrentItem="False" BorderThickness="1,1,1,1"
EmptyText="Search..." IsEditable="True" Text="{Binding SearchProvider.FreeText, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding SearchProvider.SearchHistory}"
MaxWidth="{Binding IsCompact, Converter={StaticResource BoolToWidthConverter}, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type search:XXXView}}}" telerik:AnimationManager.IsAnimationEnabled="false">
<telerik:RadRibbonComboBox.InputBindings>
<KeyBinding Key="Enter" Command="{Binding XXXX}" CommandParameter="True" />
</telerik:RadRibbonComboBox.InputBindings>
</telerik:RadRibbonComboBox>
<telerik:RadComboBox x:Name="RadComboBoxSearchText" Grid.Row="0" Grid.Column="2" Margin="4" MinWidth="120" VerticalContentAlignment="Center"
HorizontalAlignment="Stretch" VerticalAlignment="Top" IsSynchronizedWithCurrentItem="False" BorderThickness="1,1,1,1"
EmptyText="Search..." IsEditable="True" Text="{Binding SearchProvider.FreeText, Mode=TwoWay,NotifyOnSourceUpdated=True,NotifyOnTargetUpdated=True, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding SearchProvider.SearchHistory}"
telerik:AnimationManager.IsAnimationEnabled="false">
<telerik:RadComboBox.InputBindings>
<KeyBinding Key="Enter" Command="{Binding XXXX}" CommandParameter="True" />
</telerik:RadComboBox.InputBindings>
</telerik:RadComboBox>
If I enter any text in the ribbon, they are getting reflected in in radcombobox. But the delete/backspace ones are not reflecting as it is.
I have notified the property change , it was working fine with all the other keys except Del and Backspace.
Regards,
Srinivas M
I have a RadCombobox and RadRibbonComboBox, with combobox being the ancestor.
<telerik:RadRibbonComboBox x:Name="RadComboBoxSearchText" Grid.Row="0" Grid.Column="2" Margin="4" MinWidth="120" VerticalContentAlignment="Center"
HorizontalAlignment="Stretch" VerticalAlignment="Top" IsSynchronizedWithCurrentItem="False" BorderThickness="1,1,1,1"
EmptyText="Search..." IsEditable="True" Text="{Binding SearchProvider.FreeText, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding SearchProvider.SearchHistory}"
MaxWidth="{Binding IsCompact, Converter={StaticResource BoolToWidthConverter}, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type search:XXXView}}}" telerik:AnimationManager.IsAnimationEnabled="false">
<telerik:RadRibbonComboBox.InputBindings>
<KeyBinding Key="Enter" Command="{Binding XXXX}" CommandParameter="True" />
</telerik:RadRibbonComboBox.InputBindings>
</telerik:RadRibbonComboBox>
<telerik:RadComboBox x:Name="RadComboBoxSearchText" Grid.Row="0" Grid.Column="2" Margin="4" MinWidth="120" VerticalContentAlignment="Center"
HorizontalAlignment="Stretch" VerticalAlignment="Top" IsSynchronizedWithCurrentItem="False" BorderThickness="1,1,1,1"
EmptyText="Search..." IsEditable="True" Text="{Binding SearchProvider.FreeText, Mode=TwoWay,NotifyOnSourceUpdated=True,NotifyOnTargetUpdated=True, UpdateSourceTrigger=PropertyChanged}" ItemsSource="{Binding SearchProvider.SearchHistory}"
telerik:AnimationManager.IsAnimationEnabled="false">
<telerik:RadComboBox.InputBindings>
<KeyBinding Key="Enter" Command="{Binding XXXX}" CommandParameter="True" />
</telerik:RadComboBox.InputBindings>
</telerik:RadComboBox>
If I enter any text in the ribbon, they are getting reflected in in radcombobox. But the delete/backspace ones are not reflecting as it is.
I have notified the property change , it was working fine with all the other keys except Del and Backspace.
Regards,
Srinivas M