|
-
Dec 14th, 2004, 11:54 PM
#1
Thread Starter
Frenzied Member
Listbox ClearSelection Problem
Hi all,
I need to clear all selections in my listbox on a particular event and I used following code to do so.
departmentsListBox.ClearSelected();
But this is not working fine. One item is remain selected in the listbox. I need to clear all the selections.
Any ideas ??
Thanks
-
Dec 16th, 2004, 02:22 AM
#2
Fanatic Member
Re: Listbox ClearSelection Problem
listBox1.SelectedIndex=-1
?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|