This is a migrated thread and some comments may be shown as answers.

Auto-generating Drop Down Columns

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marbry
Top achievements
Rank 1
Marbry asked on 12 Dec 2013, 08:32 PM
From a couple of things I'd seen I gathered that by building a dataset, populating it with the master table and any needed related tables, then setting the proper data relationships within the dataset that RadGrid would automatically create drop down columns for foreign key relationships that I had defined.

I haven't been able to get this to work to date, or find an example that matches this particular scenario as I'm dynamically defining all that in code.  Everything I see that does anything close just has fixed columns in markup.  But, this will connect to different tables rather than the same one all the time.

Is this something that can be done?  Or do we have to explicitly build each column and add them to the grid?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Dec 2013, 09:15 AM
Hi Marbry,

I'm not clear about your requirement, please go through this documentation on Creating a RadGrid Programmatically. If this doesn't help,
please elaborate on your requirements and please provide your code snippet.

Thanks,
Shinu
Tags
Grid
Asked by
Marbry
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or