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:

Created:

Updated:

Platform:

Replies:

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

Hello,
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.

this.GridGroupingControl1.CreateControlHierarchy();

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.

Regards,
Valli

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

Hi,
thank you for your answer,the problem was fixed
regards

Yacinus

CONFIRMATION

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.

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

;