Select the product you need help with
FIX: You may receive an "IndexOutOfRangeException" error message when you use the SHIFT+UP ARROW key combination in a DataGrid control in Visual Studio .NET 2002Article ID: 825031 - View products that this article applies to. On This PageSYMPTOMSWhen you use the SHIFT+UP ARROW key combination in a DataGrid control, a problem may occur. When this problem occurs, you also
have the ReadOnly property of the DataGrid control set to true. You also have all the rows in the DataGrid control selected. You may receive the following error message: 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) RESOLUTION To resolve this problem, obtain the latest service pack for
the Microsoft .NET Framework 1.0. The following file is available for download from the Microsoft
Download Center: The Microsoft .NET Framework 1.0 Service Pack 3 STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. This problem was
first corrected in the Microsoft .NET Framework 1.0 Service Pack
3. MORE INFORMATIONSteps to reproduce the problem
REFERENCESFor additional information, visit the following Microsoft
Developer Network (MSDN) Web site: The Windows Forms DataGrid http://msdn2.microsoft.com/en-us/vbasic/ms789159.aspx For additional information, click
the following article number to view the article in the Microsoft Knowledge
Base:
(http://msdn2.microsoft.com/en-us/vbasic/ms789159.aspx)
320584
(http://support.microsoft.com/kb/320584/
)
How to trap keystrokes in .NET controls by using Visual C# .NET
PropertiesArticle ID: 825031 - Last Review: February 21, 2007 - Revision: 1.6 APPLIES TO
|



Back to the top








