Hi,
I have 2 ultralistviews and am populating first listview with items when the view comes up first time. Later on selection of any item , am trying to populate second listview with set of items.
The strange thing i noticed is the item activated event of second listview gets fired twice. This happens when the listview doesnot have a focus and am trying to select any middle item... so the first item gets activated first and later it activates the selected or clicked one. I havenot used any other events w.r.t listview.
So how can I stop firing the item activate event twice when am selecting on item. Appreciate a response in this regard. Thanks!!
are you giving the event handler programatically using +=??
if so you might be giving it twice.
so you have to use -= before +=.
-= wont throw any exception if the event was no added before
I was not able to reproduce the behavior you describe here with a simple test. If possible post a small sample that demonstrates this issue and we will take a look.