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. Image for the cookie policy date
close icon

Run time error with combo box summary cell

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)

3 Replies

AD Administrator 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?


AA Anthony Avella January 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?


AD Administrator 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

Loader.
Live Chat Icon For mobile
Up arrow icon