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

GridGroupingWebControl foreign key column

Thread ID:





73981 May 27,2008 11:39 PM UTC Jul 1,2008 08:20 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On May 27, 2008 11:39 PM UTC


I am trying to dynamically replace a column that shows an ID with a column that will show the corresponding values from a look-up table for that ID. I found in one of your samples:

//step 6. Replace maintable.LookUpCol with foreigntable.DisplayCol
string foreignPrefix = rd.Name + "_";
//get the hashed name of foreign col
string foreignDisplayColInMainTable = foreignPrefix + DisplayCol;
td.VisibleColumns.Insert(lookUpIndex, foreignDisplayColInMainTable);
//set its headertext to something other than default hashedname
td.Columns[foreignDisplayColInMainTable].HeaderText = ColumnHeader;


However this does not seem to work for ASP.NET grid. Can you send me an example that works?

Rajarajeswari S [Syncfusion]
Replied On July 1, 2008 08:20 AM UTC

Hi Sorin,

Sorry for the delay in responding you.

In GridGroupingWeb we can create relationship between the tables and display it in the hierarchy mode. Currently our code library does not support your requirement. Please refer the sample from the below link, which illustrates of creating related tables in GridGroupingControl:


Please let me know if you have any other concerns.



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