I have a XamMultiColumnComboEditor with:AllowMultipleSelection="True"CustomValueEnteredAction="Add"MultiSelectValueDelimiter=";" ItemsSource="{Binding TestStrings}"
When I type in this control and add a value that is not in the underlying collection, it all works fine and it adds it to list as expected. However, why I try to add multiple values that are not in the list using the delimiter ";" the control clears the selection
For Example:If my list TestStrings is { "a","b","c"}And I type "d" into control, the value "d" is added and selected as expected because of the CustomValueEnteredAction="Add"However, if i want to add "d" and "e", i will type, "d;e". Typing this clears d from the text, removes d from selection and only selects e. This is obviously not correct.I am using version 14.1.20141.2108.Is this fixed in any later versions of Infragistics? Is there any workaround for this in my version?
Hello JG,
I have been investigating into this behavior you are referring to, and I cannot seem to reproduce this issue against version 14.1.20141.2108 on my end. On my end against that version, if I type "d;e" I am seeing an entry for both "d" and "e" added to the XamMultiColumnComboEditor.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using. If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if you have any other questions or concerns on this matter.
MultiColumnComboNewValueTest.zip
Hi Andrew, thanks for your help. In the provided example it is using version 15.1 of Infragistics though?
Also, and maybe this is the main difference, I am not using:
<ig:XamMultiColumnComboEditor Grid.Row="0" ItemsSource="{Binding Data}" AllowMultipleSelection="True" CheckBoxVisibility="Visible" Name="MyComboEditor"> <i:Interaction.Behaviors> <local:XamComboEditorSelectedItemsBehavior SelectedItems="{Binding Path=SelectedItems, Mode=TwoWay}"/> </i:Interaction.Behaviors> </ig:XamMultiColumnComboEditor>
I am using this instead:
IsSelectedMemberPath="IsSelected"
Can you please see if you can reproduce in version 14.1.20141.2108 using the above technique?