Click here to Skip to main content
11,714,776 members (75,720 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hello, I have a dynamic gridview generating dynamic controls based off of values in the database. Each gridview row has "dependency" numbers. For example, the first row has an id of 1, and the next 3 rows have a DependencyID of 1, so those three rows are dependent on row 1. Each row that has a DependencyID also has a dependent "answer."

The way I would like to program to work is to have the first question show up with it's dynamic control (say a yes/no dropdown). When the user selects "Yes," the next three rows will populate that have a dependencyID of 1 and the answer "Yes."

Is there any good way of doing this? I want to see all the options before I dive into it. So far I can only think of a nested gridview or possibly the Telerik Ajax hierarchy grid.
Posted 4-Dec-12 6:03am
franuzz285

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 550
1 Richard MacCutchan 275
2 Maciej Los 274
3 ManasKumarM 155
4 CHill60 135
0 Sergey Alexandrovich Kryukov 545
1 CHill60 375
2 Maciej Los 324
3 Richard MacCutchan 310
4 OriginalGriff 260


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100