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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception changing filtered value in databound grid

Thread ID:





7898 Oct 14,2003 10:52 AM UTC Oct 15,2003 11:13 AM UTC WinForms 1
Tags: GridControl
Gene Gorokhovsky
Asked On October 14, 2003 10:52 AM UTC

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, VS 2003

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

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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon