Possible Duplicate:
ListView.SelecctedItems shows 0 selected
ok..Let me explain in better way My requirement is simple as it comes in windows my computer explorer which shows on left the tree node control with folders listing on the right side it shows respected files in it.. the similar way i have already the Tree node control and Listview control implemented. what i need is i will select one node and one object in list view then i click a button in another form it Listview.Selecteditems is showing 0. How to overcome? What i feel it showing 0 bcoz the list view is losing focus
Thanks in advance
Set ListView.HideSelection property to
false. After that list view remain selected items if control looses focus.