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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SelectionEvent is firing upto 6 times when I move from one cell to another cell

Thread ID:

Created:

Updated:

Platform:

Replies:

79609 Feb 17,2009 01:12 PM UTC Feb 20,2009 11:31 AM UTC WinForms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 17, 2009 01:12 PM UTC

When I moving from one cell to another cell, the SelectionChanged event is getting fired upto 6 times. What might be the reason for this?

Apart from this event, some more events are attached to the grid. This is causing usability issue to the end user





Nisha Arockiya A [Syncfusion]
Replied On February 18, 2009 12:51 PM UTC

Hi Premchand,

Thanks for your interest in Syncfusion Products.

I have prepared a sample with SelectionChanged event that triggers when moving from one cell to another cell, but I could not able to reproduce the issue of 'SelectionEvent is firing upto 6 times when I move from one cell to another cell'. Please refer to the following sample.

Sample:
http://websamples.syncfusion.com//samples/Grid.Windows/Development/GC_F79609.zip

Could you please let me know the reproducing steps for the issue??

Please let me know if this helps.

Regards,
Nisha.


premchand
Replied On February 19, 2009 05:04 PM UTC

Hi Nisha

I am attaching a CS file which derives from GridControl. In this file we are using SyncFusion Grid Control.

Copy this file to your WinForms CSproj file and from the Tool box, drag and drop GridControl CEE_GridControl. I have attached CEE_GridControl_SelectionChanged. Just put the break point and navigate the cells. You will be seeing that you will hit the break point 3 times when I navigate the cells using the key board.

I have commented lot other events from this C# file. I think some other event in the same file is casuing this event to fire again and again.

-Premchand

>Hi Premchand,

Thanks for your interest in Syncfusion Products.

I have prepared a sample with SelectionChanged event that triggers when moving from one cell to another cell, but I could not able to reproduce the issue of 'SelectionEvent is firing upto 6 times when I move from one cell to another cell'. Please refer to the following sample.

Sample:
http://websamples.syncfusion.com//samples/Grid.Windows/Development/GC_F79609.zip

Could you please let me know the reproducing steps for the issue??

Please let me know if this helps.

Regards,
Nisha.





CEE-GridControl_419a7bc1.zip

Jisha Joy [Syncfusion]
Replied On February 20, 2009 11:31 AM UTC

Hi Premchand,

I am afraid I was not able to see the issue of SelectionChanging event is firing 3 times. But I could able to see that it is firing two times. This is by design. The selections are cleared completely and selected again for the next cell while navigating through cells.

Please let me know if you have any questions.

Regards,
Jisha


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.

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

;