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.

GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

60305 May 2,2007 09:19 AM May 2,2007 06:38 PM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Naveed Afzaal
Asked On May 2, 2007 09:19 AM

Hi,

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

i-e

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

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

Now the objTable object is null.
why?

Regards
Naveed Afzaal

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

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".

http://websamples.syncfusion.com/samples/Grid.Web/5.1.0.0/DT60305/GridGroup_Forum60305/main.htm

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.

Regards,
Gokulkumar B

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.

;