The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
at System.Data.DataView.System.Collections.IList.get_Item(Int32 recordIndex)\r
at Syncfusion.Windows.Forms.Grid.GridModelDataBinder.BeginEdit()\r
at Syncfusion.Windows.Forms.Grid.GridDataBoundGridModel.OnClearingCells(GridClearingCellsEventArgs e)\r
at Syncfusion.Windows.Forms.Grid.GridModel.ClearCells(GridRangeInfoList rangeList, Boolean clearStyle)\r
at Syncfusion.Windows.Forms.Grid.GridModel.Clear(Boolean clearStyle)\r
at Syncfusion.Windows.Forms.Grid.GridControlBase.OnKeyDown(KeyEventArgs e)\r
at Syncfusion.Windows.Forms.Grid.GridDataBoundGrid.OnKeyDown(KeyEventArgs e)\r
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)\r
at Syncfusion.Windows.Forms.Grid.GridControlBase.ProcessKeyEventArgs(Message& m)\r
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)\r
at Syncfusion.Windows.Forms.Grid.GridControlBase.ProcessKeyMessage(Message& m)\r
at System.Windows.Forms.Control.WmKeyChar(Message& m)\r
at System.Windows.Forms.Control.WndProc(Message& m)\r
at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)\r
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)\r
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r
at System.Windows.Forms.Application.Run(Form mainForm)\r
ADAdministrator Syncfusion Team 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.
ADAdministrator Syncfusion Team 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.