Given this definition:
<ig:XamComboEditor x:Name="productCombo" ItemsSource="{Binding Products}" SelectedItem="{Binding Product, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnNotifyDataErrors=True}" DisplayMemberPath="ComboDisplayName" HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Center" AutoComplete="True" CustomValueEnteredAction="Add" DataObjectRequested="productCombo_DataObjectRequested"/>
I get this exception trying to add an item not currently in 'Products' ie as a consequence of the CustomValueEnteredAction.
A first chance exception of type 'System.Exception' occurred in InfragisticsSL4.Controls.Editors.XamComboEditor.v10.2 System.Exception Can not create a new data item, when there is no ItemSource set. Please make sure that you have hooked up an ItemSource to the XamWebComboEditor. at Infragistics.Controls.Editors.XamComboEditor.CreateItem() at Infragistics.Controls.Editors.XamComboEditor.CommitTextAsSelected(Boolean closeDropDown, Boolean cancelSelection, Boolean moveSelectionToTheEnd, Boolean allowUseOfFocusedItem) at Infragistics.Controls.Editors.XamComboEditor.Editor_LostFocus(Object sender, RoutedEventArgs e) at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Hi,
Just to let you know that recently we released the service release that include the fix of this issueLet me know if you have any further questions.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hi James,
We have manage to reproduce the issue you described and we have logged this behavior in our internal tracking system with a Development ID of 60736. I will get back to you when the issue is fixed.Thank you.
Hello jamesogden, I have investigated your issue and it seams that this is a bug in XamComboEditor. I was able to reproduce it in 10.3 also.
I've created a case for you (CAS-57170-Q831PC) so our developer support can contact you.
Regards
It appears to be fixed in 10.3 as I cannot reproduce the issue. Please let me know if you have any problem.
Thanks!
Given the choice, I'll probably go straight to 10.3. I assume that it's fixed there too?