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.
Unfortunately, activation email could not send to your email. Please try again.

Crash when GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

41946 Mar 15,2006 09:34 AM Mar 16,2006 10:06 AM Windows Forms 2
loading
Tags: GridControl
e.davidse
Asked On March 15, 2006 09:34 AM

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 04:49 AM

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.

41946.zip

Administrator [Syncfusion]
Replied On March 16, 2006 10:06 AM

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.

CONFIRMATION

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.

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.

;