By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,861 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

Datagridview Selection Change

P: n/a
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
Mar 17 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.