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

Probelm with Grid Grouping Control.TopLevelTable

Thread ID:





63366 Jul 3,2007 10:01 AM UTC Jul 3,2007 01:14 PM UTC ASP.NET Web Forms (Classic) 2
Tags: Grouping
Yarius Yacinus
Asked On July 3, 2007 10:01 AM UTC

I am having a problem with GG,when I use GG.topLevelTable.Rows to loop through the GG ,I get the Exception message :System.NullReferenceException,even if the data is correctly loaded in the GG,when I use the watch window I observe that GGC1.TableDescriptor have an undefined Value.
How to fix this problem?
Note that this exception is generated when I click in Linkbutton
Thank you in advance

Valli [Syncfusion]
Replied On July 3, 2007 11:30 AM UTC

Hi Yacinus,

1) The System.NullReferenceException gets raised when the control hierarchy is not created and the TopLevelTable is null.

Please use the below code snippet which will ensure the control-hierarchy gets created and TopLevelTable is non-null.


Let us if the above code helps you to resolve the issue.

2) Regarding the exception is generated when I Click in the Link button:

If still the issue persists could you please attach us a sample which will be more helpful to us to solve it.


Yarius Yacinus
Replied On July 3, 2007 01:14 PM UTC

thank you for your answer,the problem was fixed



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