***HELP***Dynamically Render server controls****

  • Thread starter Thread starter jax
  • Start date Start date
J

jax

Hi ALL !!
I have to programatically render certain numbers of
HTML inputFILE controls. I know that the code for that
is:
Dim control As Control = FindControl("Form1")

For i = 1 To 10

Dim file As New HtmlInputFile()

control.Controls.Add(file)

Next



This produces stream of 10 controls one after another...But How can i get
more control in the

layout? For instance to insert break or put them the into a table rows ?



THANK YOU !!!
 
You could create a literal control in code with the text value like "<br>"
and then add the literal control to your collection along with your other
control.
 
Back
Top