1
Answer

How to generate controls dynamically ?

sachi vasishta

sachi vasishta

12y
1.9k
1

Hi All,

I have an aspx file. In that I have two radio button controls namely HC and DB.
Now what I want is if I click on the HC radio button A dropdown list should appear with the values 1,2,3,4,5.
Here, if I select 2 then 4 textboxes and two checkboxes should appear below the radio button (2 textboxes/row). If I select 3 then 6 textboxes and three textboxes should be generated dynamically. In all these textboxes I will display data retrieved from a XML or database.

How to achieve this ?

Thanks,

Sachi



Answers (1)