views:

37

answers:

1

I tried this,

document.getElementById('<% = ListBox1.ClientID %>').options.length = 0; what this does is clear my items of my listbox.. I simply want to unselect the selected items.. Any suggestion...

+1  A: 

ListBox1.selectedIndex = -1

dejavu
@dejavu it worked...
bala3569
I'm glad I could help :)
dejavu