locked
ListView ItemActivated Event is Executed Twice !? RRS feed

  • Question

  • Hi Friends !

    I am writing myListView.
    now I am handling ItemActivateEvent Like ..

    AddHandler myListView.ItemActivate, AddressOf ListView_ItemActivate

    but problem is this Event Executes Two times !

    Why ??

    Thanks in Advance!
    Thursday, March 8, 2007 8:18 AM

Answers

  • Ok friends thanks to reply me and to read my problem.
    Actually Event Handler was added to times for same ListView so that was the problem.
    So every added EvenHAndler was executed and thus ItemActivated event was getting fired twice !

    Tuesday, March 13, 2007 6:08 AM

All replies

  • What does the declaration of 'ListView_ItemActivate' look like?  Does it have a Handles clause at the end?

    Tony

    Thursday, March 8, 2007 1:59 PM
  • Ok friends thanks to reply me and to read my problem.
    Actually Event Handler was added to times for same ListView so that was the problem.
    So every added EvenHAndler was executed and thus ItemActivated event was getting fired twice !

    Tuesday, March 13, 2007 6:08 AM