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.

CurrentCellActivated does not fire on CurrentCell.Activate(r,c);

Thread ID:





15994 Jul 1,2004 09:50 PM Jul 2,2004 02:11 PM Windows Forms 4
Tags: GridControl
Luis Guerra
Asked On July 1, 2004 09:50 PM

Hi guys, I would expect that the CurrentCellActivated event would fire when I call in code the method Grid.CurrentCell.Activate(r,c); It does not happen. Is this by design? Any workaround ? thanks for the help

Administrator [Syncfusion]
Replied On July 2, 2004 01:57 AM

There is specific code in the Activate method that forces a return in this case before any work is done. I will forward this onto to Stefan to see if this is by design or should be changed. You can get CurrentCellActivated to be raised by using grid.CurrentCell.MoveTo instead of grid.CurrentCell.Activate.

Administrator [Syncfusion]
Replied On July 2, 2004 09:32 AM

This is done this way by design in our cod, so you should use CurrentCell.MoveTo to activate a cell in this manner.

Luis Guerra
Replied On July 2, 2004 01:01 PM

I seem to understand from your posting that using the method Grid.CurrentCell.MoveTo (r,c); will cause the event CurrentCellActivated to fire. Sorry to tell you that the CurrentCellActivated event does not fire when you call in code either the method Grid.CurrentCell.MoveTo (r,c); or the method Grid.CurrentCell.Activate(r,c);

Administrator [Syncfusion]
Replied On July 2, 2004 02:11 PM

Calling CurrentCell.MoveTo seems to cause CurrentCellActivated to be raised in this sample. Can you attach a sample where it does not work? CurrentCellMoveto_5462.zip


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.