I have had this happen to me as well. I spent several hours trying to figure out any way to prevent this, but to no avail.
I assume it is a bug in the DataGridView control that is causing this. But it is odd in that it only happens in some cases. But it seems once it does happen to one particular DataGridView, it happens again and again and again.
I even compared, line by line, the designer file for a DataGridView that was *not* doing this to one that was and I found no differences.
If anyone else has figured out a way to prevent this ... I'd love to hear about it as well.
I know this does not help ... but at least you now it is not something you did!
www.insteptech.com ;
msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!