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.

Exception changing filtered value in databound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

7898 Oct 14,2003 06:52 AM Oct 15,2003 07:13 AM Windows Forms 1
loading
Tags: GridControl
Gene Gorokhovsky
Asked On October 14, 2003 06:52 AM

I have a GDBG bound to a filtered DataView. When user changes a value in the grid which causes the changed row to go out of views scope, grid throws the following exceptions: 1) System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.Windows.Forms.Grid.GridControlBase.OnPaint(PaintEventArgs pe) in S:\Nimrod\src\WinUI\Components\Syncfusion.Grid\GridControlBase.cs:line 1828 at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) etc.... After this exception is dismissed, another one is thrown: System.NullReferenceException: Object reference not set to an instance of an object. at System.Data.DataView.IsOriginalVersion(Int32 index) at System.Data.DataRowView.GetColumnValue(DataColumn column) at System.Data.DataColumnPropertyDescriptor.GetValue(Object component) at Syncfusion.Windows.Forms.Grid.GridModelDataBinder.QueryCellInfo(GridQueryCellInfoEventArgs e) in S:\Nimrod\src\WinUI\Components\Syncfusion.Grid\GridModelDataBinder.cs:line 1827 at Syncfusion.Windows.Forms.Grid.GridModelDataBinder.Syncfusion.Windows.Forms.Grid.IGridModelDataProvider.QueryCellInfo(GridQueryCellInfoEventArgs e) in S:\Nimrod\src\WinUI\Components\Syncfusion.Grid\GridModelDataBinder.cs:line 1729 I uses SyncGrid 1.6.1.6, VS 2003

Administrator [Syncfusion]
Replied On October 15, 2003 07:13 AM

This problem will be handled in the grouping grid support in the upcoming 2.0 release. I do not know of a way to handle it cleanly with the 1.6 code base.

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.

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.

;