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.
Syncfusion Feedback

Run time error with combo box summary cell

Thread ID:

Created:

Updated:

Platform:

Replies:

23838 Jan 20,2005 06:28 PM UTC Jan 21,2005 12:04 PM UTC Windows Forms 3
loading
Tags: Grouping
Anthony Avella
Asked On January 20, 2005 06:28 PM UTC

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)

Administrator [Syncfusion]
Replied On 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?

Anthony Avella
Replied On 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?

Administrator [Syncfusion]
Replied On 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

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.

Warning Icon 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.Close Icon

;