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
125
SelectedText goes blank in XamComboEditor
posted

Hi,

When I select an item in a comboEditor after binding, the item gets selected but the selectedText is blank (as is the control on the screen).

 This is the control:

<igEditors:XamComboEditor x:Name="cmbCompany" Margin="0,0,12,0" Theme="Office2k7Blue" IsEditable="True">
      <igEditors:XamComboEditor.ItemsProvider>
           
<igEditors:ComboBoxItemsProvider />
     
</igEditors:XamComboEditor.ItemsProvider>
</igEditors:XamComboEditor>

 This is the binding code:

DataTable companies = ServiceUtilities.GetCompanyByNameList();
cmbCompany.ItemsProvider.ItemsSource = companies.DefaultView;
cmbCompany.ItemsProvider.DisplayMemberPath =
"Name";
cmbCompany.ItemsProvider.ValuePath =
"ID";

How can I make the selected item show?