sachi vasishta

sachi vasishta

  • NA
  • 252
  • 0

How to generate controls dynamically ?

Dec 20 2011 7:18 AM

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)