To,Infragistics Support,
I have following simple code.
{
AddItems(20, "xyz", "wxy");
}
class Order
o1.Id = id;
s2
});
item.Tag = o1;
ultraListView1.Items.Add(item);
ultraListView1.SelectedItems.Remove(ulv);
ultraListView1.Items.Remove(ulv);
Issue:
when the line ultraListView1.Items.Remove(ulv); is being executed, usually it shouldn't fire any event.
but in this case
ultraListView1_ItemActivated(object sender, ItemActivatedEventArgs e)
being called from UltraListView internal routine/event mechanism.
we can always argue that
if ( item == null) should be there in ultraListView1_ItemActivated(...) this method. but
my question is why it is calling this event when the item is being removed ?
Please clarify.
Thanks
Paresh
The event probably should have been named 'ActiveItemChanged'; it is being called because the value of the ActiveItem property has changed. Note that this is a peer-to-peer forum, and not intended for logging bug reports. You should report this issue via the web support form so that you are notified when a fix becomes available.