Dynamically create <tr> and input file fields
I have an ASP.NET application that allows a user to select if they want to upload an attachment.
If they check yes, then a dropdown list appears that allows them to select a number 1-5 to specify the number of files they will be uploading...
What I need to do it determine the number in the dropdown list, then dynamically create that many rows immediately below the dropdown list and add input type controls within a column of the newly created rows.
any ideas on the best way to do this?
Would a Repeater control be a good idea for this???