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.
While trying to enter a combo box summary cell, I receive the following runtime error and my app. just crashes. This does not happen while accessing a combobox detail row. Any ideas??
Error Message: Object reference not set to an instance of an object.
Source:
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableModel.GetStyleDataSource(GridStyleInfo style)
at Syncfusion.Windows.Forms.Grid.GridComboBoxCellModel.GetDataSource(GridStyleInfo style)
at Syncfusion.Windows.Forms.Grid.GridComboBoxCellModel.FillWithChoices(ListBox listBox, GridStyleInfo style, Boolean& exclusive)
at Syncfusion.Windows.Forms.Grid.GridComboBoxCellRenderer.OnInitialize(Int32 rowIndex, Int32 colIndex)
at Syncfusion.Windows.Forms.Grid.GridCellRendererBase.Initialize(Int32 rowIndex, Int32 colIndex)
at Syncfusion.Windows.Forms.Grid.GridCurrentCell.Refresh()
at Syncfusion.Windows.Forms.Grid.GridControlBase.Refresh(Boolean fromModel)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.Refresh(Boolean fromModel)
at Syncfusion.Windows.Forms.Grid.GridControlBase.Refresh()
at Syncfusion.Windows.Forms.Grid.GridControlBase.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at Syncfusion.Windows.Forms.ScrollControl.WmMouseDown(Message& msg)
at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(Message& msg)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
ADAdministrator Syncfusion Team January 20, 2005 09:29 PM UTC
Summary cells generally are not editable. What are you trying to accomplish by using a combobox in asummary cell?
AAAnthony AvellaJanuary 21, 2005 10:35 AM UTC
We have made our summary cells editable using your guidance over the months. Since my summary cell is a drop down, I would like to be able to change the value and programatically update the detail cell under the summary cell.
>Summary cells generally are not editable. What are you trying to accomplish by using a combobox in asummary cell?
ADAdministrator Syncfusion Team January 21, 2005 12:04 PM UTC
Anthony,
Did you specify a choice list or set the DataSource property for that combobox cell?
Only then if neither datasource nor ChoiceList was set then the combobox will query Model.GetStyleDataSource.
Stefan