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.
Unfortunately, activation email could not send to your email. Please try again.

Cell Button Firing Twice

Thread ID:

Created:

Updated:

Platform:

Replies:

31856 Jul 15,2005 02:43 PM Jul 15,2005 02:58 PM Windows Forms 1
loading
Tags: GridControl
Adrian Lin
Asked On July 15, 2005 02:43 PM

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

Adrian Lin
Replied On July 15, 2005 02: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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;