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.

Probelm with Grid Grouping Control.TopLevelTable

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 07:30 AM

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 09:14 AM

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.

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.

;