Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
850
XamComboEditor initialization problem
posted

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}"

                  SelectedIndex="{Binding UserSelected}"/>

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?

Parents Reply Children
No Data