Click here to Skip to main content
12,558,489 members (58,490 online)
Rate this:
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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.161026.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2016
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