We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 01:58 PM

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.
Live Chat Icon For mobile
Up arrow icon