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.

Error while calling grid.EndUpdate()

Thread ID:





52712 Dec 1,2006 06:11 PM Dec 4,2006 11:42 AM Windows Forms 2
Tags: Grouping
Sameer Chandargi
Asked On December 1, 2006 06:11 PM

I am getting Object reference not set to an instance of an object error when i call
grid.EndUpdate() . Following is the stacktrace i got

22700406: Object reference not set to an instance of an object. Stack Trace to follow...
: at Syncfusion.Windows.Forms.Grid.Grouping.GridTableDescriptor.EnsureSummaryDescriptors()
at Syncfusion.Grouping.Group.GetSummaries(Table parentTable, Boolean& summaryChanged)
at Syncfusion.Grouping.Element.GetSummaries(Table parentTable)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.Update()
at Syncfusion.Windows.Forms.Grid.GridControlBase.EndUpdateModel(Boolean update, Boolean fromModel)
at Syncfusion.Windows.Forms.Grid.GridControlBase.EndUpdate(Boolean update)
at Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl.EndUpdate(Boolean update)

Administrator [Syncfusion]
Replied On December 4, 2006 12:15 AM

Hi Sameer,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify any of our browser samples to reproduce the issue here? This will help us to analyse the issue further.

Best Regards,

Replied On December 4, 2006 11:42 AM

Hi Haneef,

I have function which moves visible columns following is the code snippet from source code

private void SetupPeopleViewGridLook()
if this._resultsGrid.TableDescriptor.VisibleColumns.Count > 0)
int source = this._resultsGrid.TableDescriptor.VisibleColumns.IndexOf("Last Name");
if(source >= 0)
this._resultsGrid.TableDescriptor.VisibleColumns.Move(source, 0);
source = this._resultsGrid.TableDescriptor.VisibleColumns.IndexOf("First Name");
if(source >= 0)
source = this._resultsGrid.TableDescriptor.VisibleColumns.IndexOf("Nick Name");
if(source >= 0)
this._resultsGrid.EndUpdate(true); }
catch (Exception ex)
Logger.getInstance().logError("Error configuring people grid view.", ex);
throw new PresentationException("Error configuring people grid view.", ex);

This code is working in syncfusion 4.1 but not in 4.2

Please reply asap..


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.