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


Thread ID:





60305 May 2,2007 01:19 PM UTC May 2,2007 10:38 PM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Naveed Afzaal
Asked On May 2, 2007 01:19 PM UTC


I am using GridGroupingControl.The problem is
that the "TopLevelTable" property returns null
even if i have assigned dataset to the Grid.


this.grdSpreadsheetANReport.DataSource = dSet;
this.grdSpreadsheetANReport.DataMember = dSet.Tables[0].TableName.ToString();

System.Web.UI.WebControls.Table objTable = this.grdReport.TopLevelTable

Now the objTable object is null.

Naveed Afzaal

Gokul B [Syncfusion]
Replied On May 2, 2007 10:38 PM UTC

Hi Naveed,

We could see this issue. If we try to create a Table object on Page events will always holds null value for Table object.

GridGroupingControl1.TopLevelTable will returns the System.Web.UI.WebControl.Table only when the GridRow corresponds to the display elements (i.e return the Elements the get rendered in Grid row such as sequence of templates).

Attached is the sample which illustrate the usage scenario of "TopLevelTable".


In our sample, we have Edited the all rows in GridGroupingControl at a time and created a Table dynamically to get access the affected values of display elements which get rendered in Grid rows.

Let us know if you need any other assistance.

Thanks for using Syncfusion products.

Gokulkumar B


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