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
830
Cursor Trapped In UltraComboEditor
posted

We are using the following code to populate an UltraComboEditor with a dropdown list of people. Intermittently when the User selects a person from the list, the cursor becomes trapped in the combobox and he is unable to click on any other components on the form. Any help appreciated

private void briefeePersonUltraComboEditor_Enter(object sender, EventArgs e)
{
    Infragistics.Win.UltraWinEditors.
UltraComboEditor ComboBox = sender as Infragistics.Win.UltraWinEditors.UltraComboEditor;
    if (ComboBox.Items.Count < 2)
    {
        BLCollection<BLPerson> Collection = BLPerson.GetAllPersonsLight();
        ComboBox.DataSource = Collection;
        ComboBox.ValueMember =
"Self";
        ComboBox.DisplayMember =
"Self";
        ComboBox.DropDownStyle = Infragistics.Win.
DropDownStyle.DropDownList;
        ComboBox.AutoComplete =
true
        ComboBox.SelectedIndex = ComboBox.FindStringExact(
this.SelectedBriefing.BriefeePerson.ToString());
   }
}

 

Parents
No Data
Reply
  • 9298
    posted

    I have posted a sample application which tries to incorporate the code you have posted here and it seems to work alright. Take a look at it and see if you can modify it so that it reproduces the issue you are having and post it again so I can investigate further.

    I hope it helps.

    ComboEditorTest.zip
Children
No Data