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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NullReference exception when inserting rows/columns

Thread ID:




41078 Feb 22,2006 05:45 AM UTC WinForms 0
Tags: GridControl
Administrator [Syncfusion]
Asked On February 22, 2006 05:45 AM UTC

I''m trying to insert some rows into my grid and I''m getting the following exception thrown: System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.Windows.Forms.Grid.GridFormulaEngine.AdjustReferencesForRangeChange(GridModel grd, Boolean isCols, Boolean isInsert, Int32 start, Int32 end) at Syncfusion.Windows.Forms.Grid.GridFormulaCellModel.GridRowsInserted(Object sender, GridRangeInsertedEventArgs e) at Syncfusion.Windows.Forms.Grid.GridRangeInsertedEventHandler.Invoke(Object sender, GridRangeInsertedEventArgs e) at Syncfusion.Windows.Forms.Grid.GridModel.OnRowsInserted(GridRangeInsertedEventArgs e) at Syncfusion.Windows.Forms.Grid.GridModel.RaiseRowsInserted(GridRangeInsertedEventArgs e) at Syncfusion.Windows.Forms.Grid.GridModelRowOperations.OnRangeInserted(GridRangeInsertedEventArgs e) I have the formulacopyflags set to update on row insertions/deletions. I am doing the insertions from inside a begin/end update if that helps. Any ideas on how I solve this? Thanks.


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