Every time that I update the query of my gridview, the SelectionChanged event is fired like 10 time in a row.
On this event, I have a procedure that takes some time so the action is very slow.
Is there a way to prevent that ?
1 Answer, 1 is accepted
Dess | Tech Support Engineer, Principal
answered on 16 Nov 2018, 01:13 PM
When the selection in RaGridView is changed, it is expected that the SelectionChanged is fired. If you want to skip the execution of a specific operation that is performed in the SelectionChanged event handler, you can suspend the event and resume it later. Thus, while you are refreshing the grid, the SelectionChanged event won't be fired. You can find below a sample code snippet: