[SOLVED] ListViewComboBox Exception: Invisible or disabled control cannot be activated

Answered
0
0

Hi,

i’m using Wisej version 2.1.52.0 and got exception when open a ListViewComboBox inside another ListView. Please take a look at the attachment.

Thank for your help.

Page

  • You must to post comments
Best Answer
0
0

Hi Page,

this issue was logged as #2228 and a fix is included in the latest Wisej development build (2.1.56).

Best regards
Frank

  • You must to post comments
0
0

The issue has been fixed and will be available in the next  build!

Alternatively, you can move the ListViewSubItem.Control assignment to below the ListViewItem and SubItem parent assignments. For example:

ListViewItem listItem = new ListViewItem();
var subComboBox = new ListViewSubItem();
listItem.Text = "Item x";
listItem.SubItems.Add(subComboBox);
listView1.Items.Add(listItem);
subComboBox.Control = new ListViewComboBox();

 

Let me know if you have any issues!

Best,

Levie

  • Page Page
    Hi, thanks for the workaround. It works as expected. Page
  • You must to post comments
0
0

Hi,

Thanks for reporting the issue. I’ve logged it and will let you know when there’s a fix! You might also want to take a look at using ComboBoxes within the DataGridView.

Best,

Levie

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.