We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Crash when GDBG

Thread ID:





41946 Mar 15,2006 02:34 PM UTC Mar 16,2006 03:06 PM UTC WinForms 2
Tags: GridControl
Asked On March 15, 2006 02:34 PM UTC

when the cell 0,0 is selceted when there are no rows in the datasource and then we press ''Delete''we get a crash. This is the stack trace: at System.Data.DataView.GetElement(Int32 index)\r\n at System.Data.DataView.System.Collections.IList.get_Item(Int32 recordIndex)\r\n at Syncfusion.Windows.Forms.Grid.GridModelDataBinder.BeginEdit()\r\n at Syncfusion.Windows.Forms.Grid.GridDataBoundGridModel.OnClearingCells(GridClearingCellsEventArgs e)\r\n at Syncfusion.Windows.Forms.Grid.GridModel.ClearCells(GridRangeInfoList rangeList, Boolean clearStyle)\r\n at Syncfusion.Windows.Forms.Grid.GridModel.Clear(Boolean clearStyle)\r\n at Syncfusion.Windows.Forms.Grid.GridControlBase.OnKeyDown(KeyEventArgs e)\r\n at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.OnKeyDown(KeyEventArgs e)\r\n at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)\r\n at Syncfusion.Windows.Forms.Grid.GridControlBase.ProcessKeyEventArgs(Message& m)\r\n at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)\r\n at Syncfusion.Windows.Forms.Grid.GridControlBase.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 Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)\r\n at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)\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.Application.Run(Form mainForm)\r\n

Administrator [Syncfusion]
Replied On March 16, 2006 09:49 AM UTC

Hi Davidse, Sorry for the inconvenience caused. This issue can be worked around by deriving the grid and overriding the OnKeyDown method. I have attached a sample. Regards, Calvin.


Administrator [Syncfusion]
Replied On March 16, 2006 03:06 PM UTC

Hi Davidse, We have filed a defect report regarding this issue and we will fix this issue as soon as possible. You could track the progress of this bug fix in this link. Regards, Calvin.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon