UltraListView - Delete Selected Items

Dear Sir/Madam,
I cannot delete all the selected items from a UltraListView, every time only half of the items are deleted. That items are alternative items in the List.
Here is the codes i tried:

for (int i = 0; i < lvContacts.SelectedItems.Count; i++)
{
lvContacts.Items.Remove(lvContacts.SelectedItems[i]);
fStatus.pr.Value++;
Application.DoEvents();


}

AND

foreach (UltraListViewItem item in lvContacts.SelectedItems)
{
lvContacts.Items.Remove(item);
fStatus.pr.Value++;
Application.DoEvents();
}


Please advice...
Thanks



3 Replies

FS Fathima Shalini P Syncfusion Team May 5, 2009 01:14 PM UTC

Hi Praveen,

Since UltraListView belongs to Infragistics Product, please contact Infragistics Support.

Regards,
Fathima



AD Administrator Syncfusion Team May 5, 2009 05:37 PM UTC

hi,
Very sorry about that...
But honestely Syncfusion controls are the best in the industry.
I was very sad when i did'nt found ListView in your product list.

Best Regards,
Praveen




FS Fathima Shalini P Syncfusion Team May 6, 2009 11:19 AM UTC

Hi Praveen,

Thank you for your update.

You can use our GroupView control which implements a selectable list that can display a collection of items, where each item is represented by an image and a descriptor. Kindly refer to the following KB and Online tutorial links provided:

http://help.syncfusion.com/ug_72/toolswin/ControlOverview.html

http://help.syncfusion.com/ug_72/toolswin/ThroughDesigner10.html

http://help.syncfusion.com/ug_72/toolswin/IntegratedScrolling.html

http://www.syncfusion.com/support/kb/tools/Default.aspx?ToDo=view&questId=42

Please let me know if any concerns.

Regards,
Fathima


Loader.
Up arrow icon