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\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
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.
Need More Help?
Get personalized assistance from our support team.