Listview.selectedItems.count returns 0 even if items are selected ?????

  • Thread starter Thread starter Dinesh Jain
  • Start date Start date
D

Dinesh Jain

Hi all,
I encountered a strange problem with listview.
Sometimes(not always)even if one item is selected in
listview, still listview.selectedItems.count returns 0.
What can be the reason ?
I have just changed it's hideSelection property to
false and nothing else.
Please help,

Thanks in advance,

-Regards,
Dinesh
 
Re you sure its actually selected and not simply focused ?, also if the
listview has lost focus this might occur
 
Hi OHM,
Thanks for the reply.
If we click on listview item then it gains focus,
is it right?
I am first clicking on listview's item and then trying
to perform some operation on selcted item. But the
selectedItems.count is returning 0.

Please help,

Thanks in advance,

-Regards
Dinesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top