I have a simple user select screen where an admin can emulate another user from a drop-down list. I would like to use a xamComboEditor because it seems quicker when displaying a large amount of data but for some reason it doesn’t seem to bind the SelectedIndex when it initializes.
I have put a standard combobox and a xamComboEditor next to each other to illustrate the issue
<ComboBox ItemsSource="{Binding UserListView}"
SelectedIndex="{Binding UserSelected}"/>
<igED:XamComboEditor ItemsSource="{Binding UserListView}"
When the dialog shows, the combobox shows the selected item properly but the xamComboEditor is left blank.
However if I then change the combobox’s selected item using either of the comboboxes it updates fine, showing that the binding are set correctly.
So the question really is how can I force the xamComboEditor to use it's bindings as the dialog is initialized?
Hello,
I have been looking into your issue and I have already logged it with development under ID: 59404. I have also created a support ticket on your behalf with support ticket number: CAS-71768-SGP9QF.
I am going to link it to the development work item so that you get automatically updated when a Feature Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx
Thank you Petar
FYI. This problem, only seems to present itself when using a ListCollectionView as the datasource. If the collection is changed to another source type that is not derived from a CollectionView, such as an ObservableCollection it seems to work fine.
Hi again,
Thanks for the update I’ll forward it to our developers. I am sure it will help identify the issue.
Hi,
Any Updates on this?
I'm facing a similar issue. THe XamComboEditor doesn't reflect the current Item when bound to an ICollectionView.
Any Workarounds if I cannot change the collection to some other type?
Thanks!