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
Post a Comment