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

a bug about the TopLevelGroupOptions of GGC

Thread ID:





70924 Jan 9,2008 09:25 AM UTC Jan 10,2008 12:17 PM UTC ASP.NET Web Forms (Classic) 1
Tags: Grouping
Asked On January 9, 2008 09:25 AM UTC

when the datasource of GGC is empty (exp. datatable.row.count = 0,and use databind mathed) and also use the following code in UI :

the page will throw a erro as "object is null"

my GGC vision is
how to solve this problem? thanks.

Vishnu Kumar [Syncfusion]
Replied On January 10, 2008 12:17 PM UTC

Hi Strife,

Thank you for bringing this issue to our attention.

When the datasource of GGC is empty and setting the ShowCaption="False" in UI, the page will throw a erro as "object is null"

I am able to see the issue of that you have mentioned here. The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis.To facilitate tracking the progress of the fix, and timely resolution, we request you to create an incident with subject "a bug about the TopLevelGroupOptions of GGC - 70924" in our incident database Direct Trac.

However you can workaround this issue by setting the TopLevelGroupOptions with ShowCaption property in code behind side. . The following code snippet is used to achieve this behavior.

if (GridGroupingControl1.Table.Records.Count != 0)
GridGroupingControl1.TopLevelGroupOptions.ShowCaption = false ;

Kindly have a look at the sample in the below link which implements the above work around:


Please let me know if you have any concerns.



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