Click here to Skip to main content
15,894,241 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a listview with view type detail and running in virtual mode. Whenever i try to access the CheckedIndices.Count property, i get an InvalidOperationException, "When the ListView is in virtual mode, you cannot enumerate through the ListView Item collection". What am I doing wrong here.

I want to retrieve all the indices of checked items, is there any alternate way to get them.

Thanks,
AKG
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900