Cell Button Firing Twice

I have a cell button in my datagrid in a cell. Whenever I click on the cell this procedure is fired twice: Private Sub gc_EditPhysicalEventStream_CellButtonClicked(ByVal sender As System.Object, _ ByVal e As Syncfusion.Windows.Forms.Grid.GridCellButtonClickedEventArgs) Handles gc_EditPhysicalEventStream.CellButtonClicked MsgBox("CLICK") End Sub I get the messagebox twice when i click on the cell button. Why is this happening. P.s. I have version 3.2.0.1

1 Reply

AL Adrian Lin July 15, 2005 06:58 PM UTC

I figured it out it seems I didnt need to add a handler to the grid since the button is firing w/o the handler I added: AddHandler gc_EditPhysicalEventStream.CellButtonClicked, AddressOf gc_EditPhysicalEventStream_CellButtonClicked

Loader.
Up arrow icon