I have a HyperLinkButton in every row of a datagrid in my silverlight app. I need to fire an event so I am adding a handler to the click event of the HyperLinkButton in the DataGrid.LoadingRow event. The problem is the event is firing three times (more accurately, the handler is being added three times. I tried removing the handler before adding it but that has no effect. Any ideas?
A:
I just set the .Tag on the Hyperlink button when I add the event handler and use that as a flag that the handler has been added.
PhilBrown
2010-07-26 13:04:42