M
Michel Lapointe
Hello,
I would like to know if there is an event for the Datagridview control
that is trigger before the selection change and is cancelable.
I'm currently using the SelectionChanged event (using Full Row Select),
but this event is trigger only after the selection changed is completed and
therefore is non cancelable unless you keep the previous selection in a
variable and rechange the selection, which is painful.
I've try many other event like click and Row/Column change to see if any
was cancelable or trigger before the selectionchanged but have not find any.
So if anyone know a clean way to prevent a selection changed, please let
me know.
BTW this is using VS2005 and .NET 2.0
Thank
ML
I would like to know if there is an event for the Datagridview control
that is trigger before the selection change and is cancelable.
I'm currently using the SelectionChanged event (using Full Row Select),
but this event is trigger only after the selection changed is completed and
therefore is non cancelable unless you keep the previous selection in a
variable and rechange the selection, which is painful.
I've try many other event like click and Row/Column change to see if any
was cancelable or trigger before the selectionchanged but have not find any.
So if anyone know a clean way to prevent a selection changed, please let
me know.
BTW this is using VS2005 and .NET 2.0
Thank
ML