This question is locked. New answers and comments are not allowed.
I'm using RadGridView sample you have been provided called "209935_editablecomboingridviewaddingitems-sl"
I'm trying to add the string "C,M" to the combo box but if i'll press enter the selected item "C,M,Y,K" will be set, and not the new item I want to add.
How can I solve this issue???
I'm trying to add the string "C,M" to the combo box but if i'll press enter the selected item "C,M,Y,K" will be set, and not the new item I want to add.
How can I solve this issue???
<UserControl.Resources> <local:MyConverter x:Key="MyConverter" /> <Style x:Name="myStyle" TargetType="telerik:RadComboBox"> <Setter Property="OpenDropDownOnFocus" Value="True"/> <Setter Property="IsFilteringEnabled" Value="True" /> <Setter Property="CanAutocompleteSelectItems" Value="False" /> </Style> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="White"> <telerik:RadGridView x:Name="RadGridView1" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewComboBoxColumn UniqueName="MyNumber" IsComboBoxEditable="True" DataMemberBinding="{Binding MyNumber, Converter={StaticResource MyConverter}}" /> <telerik:GridViewComboBoxColumn UniqueName="MyString" IsComboBoxEditable="True" EditorStyle="{StaticResource myStyle}" DataMemberBinding="{Binding MyString}" /> </telerik:RadGridView.Columns> </telerik:RadGridView>