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
460
Check Problem
posted

Hi,

I'm using winListView as a List with CheckboxStyle on CheckBox.

I display a list which contains checked items or not, then I want to save this checked Items Collection when I click on "OK" and send it to another method in order to process thes checked items.

I'm doing this in my OkButton_Click event with :

UltraListViewCheckedItemsCollection checkedItemCollection = this.rightListView.CheckedItems;

This is very weird because sometimes checkedItemCollection is empty.. although there are items checked on the listView.

Is there any reported bug concerning this?

Am I missing something?

thx

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    If there are items checked, the CheckedItems collection should indeed have a non-zero count. I'm not at my desk right now to confirm whether this is working correctly in the latest build, but the last time I used the collection it was. One thing to note is that is if the items you are considering to be checked are actually in the Indeterminate state, they would not appear in the CheckedItems collection, since indeterminate is the same as unchecked, as far as the CheckedItems collection goes.

Children