Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Grid Tech Support » Grid crash Collapse All
Subject Author Date
Andrew Brown Aug 27, 2007 - 5:46 AM

The grid will crash with an ArgumentOutOfRangeException in the following example case:

1. Add unbound grid to form
2. Set AllowRowSelection = false
3. Add two rows with one text column
4. Double click on row #1 to edit text
5. Press Enter to confirm change
6. Press down cursor to move to next row:

at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)\r\n
at Elegant.Auxilary.SelectionRangeCollection.get_Item(Int32 index)\r\n
at Elegant.Auxilary.SelectableByItemControl.ProcessUpKeyDown(KeyEventArgs e)\r\n
at Elegant.Auxilary.SelectableByItemControl.OnKeyDown(KeyEventArgs e)\r\n
at Elegant.Grid.GridControlBase.OnKeyDown(KeyEventArgs e)\r\n
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)\r\n
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)\r\n
at System.Windows.Forms.Control.WmKeyChar(Message& m)\r\n
at System.Windows.Forms.Control.WndProc(Message& m)\r\n
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r\n
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r\n
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n