i have a label and a dropdownlist...
first i make selection from the dropdownlist, then i want a label and dropdownlist create and the choice of the combo will query from db based on the dropdownlist1 text.
it will keep looping until the last level. which means from the second selection, it will create a 3rd set of label and combo where choices are based on the dropdownlist2 text searching from db.
ShankeyPosted Aug 11, 2010, 3:08 AM
You can create a control dynamicaly using following code and just add newly created control to the control as a child where you want to show.
Please mark my answer as accepted if it helped you :)
//Creating label dynamically
Label lblDyna = new Label();
lblDyna.Text = "I am dynamic";
//Add to control where you want to show
parentOfAll.Controls.Add(lblSpace3);
//where parentOfAll is the id of