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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cell Button Firing Twice

Thread ID:





49053 Sep 10,2006 09:52 AM UTC Nov 1,2006 03:23 AM UTC WinForms 7
Tags: GridControl
Administrator [Syncfusion]
Asked On September 10, 2006 09:52 AM UTC


I have a cell button in a cell of my grid control. When i click the cell button, a context menu will show. I had met a problem that I need to click twice on the context menu bar then the context menu will just close. It seems the cell button has fired twice.

private void gctrXYZ_CellButtonClicked(object sender, GridCellButtonClickedEventArgs e)

if (e.ColIndex == 2)
Point ClickPoint = new Point(e.Button.Bounds.X, e.Button.Bounds.Y);

Point ScreenPoint = this.gctrXYZ.PointToScreen(ClickPoint);

Point FormPoint = this.PointToClient(ScreenPoint);

Point FinalPoint = new Point(FormPoint.X + 20, FormPoint.Y);

this.popupMenu1.Show(this, FinalPoint)

Administrator [Syncfusion]
Replied On September 11, 2006 05:54 AM UTC


I tried to reproduce the issue in this sample, but could not get this issue using Essential version 4.2. What version of our libraries are you using?


Are you doing anything different than what the sample does?

Best Regards,

Administrator [Syncfusion]
Replied On September 11, 2006 12:09 PM UTC

I''m using the version

Administrator [Syncfusion]
Replied On September 11, 2006 12:23 PM UTC

I couldn''t open the solution that you provided. I think maybe because of my syncfusion version is older than it.

Administrator [Syncfusion]
Replied On September 12, 2006 09:44 AM UTC


Sorry for the inconvenience caused.

Here is a link for that sample.

Best Regards,

Administrator [Syncfusion]
Replied On September 13, 2006 07:22 AM UTC

I still couldn''t open the solution. When i view the designer, it wrote:-
Could not load file or assembly ''Syncfusion.Grid.Windows, Version=4.301.0.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'' or one of its dependencies...

I''m using the syncfusion version
I had view the code that u provided, it seems nothing much different with mine one.

Anyway, thanks for the reply.

Liam Reilly
Replied On September 21, 2006 01:19 PM UTC

Hi there,
I am experiencing an identical issue with version, the Cell Button fires twice, or in some cases, several times.

Any ideas whats going on here?

Administrator [Syncfusion]
Replied On November 1, 2006 03:23 AM UTC

The reason that caused the cell button has been fired twice is i had accidentally instantiated two same cell buttons click event handler.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon