asp.net - How to disable item at particular index of a listview in c# -


guys after processing item of listview removing using

  lstsqlstatements.items.removeat(selected_index); 

however disrupting index trace removing item fron listview.

is there ways disable item in listview ?(so user not click again on it)

tried this? googled it. http://social.msdn.microsoft.com/forums/vstudio/en-us/d3c68d8a-89d3-4de6-b9f9-4d617ffdeb77/disable-item-selection-of-the-listview

private void listview1_itemselectionchanged(object sender, listviewitemselectionchangedeventargs e) {         if (e.isselected) e.item.selected = false;     } 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -