DataGrid bug in Framework 1.0, please confirm

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H
could some one please confirm this as a bug in the .net framework 1.0

place a datagrid on a winform, do databinding to you favorite database(northwind:)
press shift key down while pressing the arrow down. keep doing this until you reach the end, then keep doing this again a couple of times, then press the up arrow

this will result in the following exception

System.IndexOutOfRangeException: Index was outside the bounds of the array

at System.Windows.Forms.DataGrid.ProcessGridKey(KeyEventArgs ke
at System.Windows.Forms.DataGrid.ProcessDialogKey(Keys keyData
at System.Windows.Forms.Control.PreProcessMessage(Message& msg
at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg

Would some one please confirm this
best regards Allan
 
Yes, it's a bug. It's been fixed in 1.1

/claes

Allan Nielsen said:
Hi
could some one please confirm this as a bug in the .net framework 1.0.

place a datagrid on a winform, do databinding to you favorite database(northwind:).
press shift key down while pressing the arrow down. keep doing this until
you reach the end, then keep doing this again a couple of times, then press
the up arrow.
this will result in the following exception :

System.IndexOutOfRangeException: Index was outside the bounds of the array.

at System.Windows.Forms.DataGrid.ProcessGridKey(KeyEventArgs ke)
at System.Windows.Forms.DataGrid.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at
System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+
IMsoComponent.FPreTranslateMessage(MSG& msg)
 
thank you so much for this confirmation here
you would not have a link to MS where this is explicit confirmed :)
cheers Allan
 
No. I'm not aware of an official MS comment on this.
It has been confirmed by others in these newsgroups though.

/claes
 
Back
Top