I try to position 4 controls above each other in a placeholder web server
control.
Thus:
Dim tx As New HtmlInputText
tx.Value = "text 1"
Me.PlaceHolder1.Controls.Add(tx)
I can put them in but they all gets in one line.
How do I put them above each other?
/k
Phillip Ian - 20 Jul 2005 14:25 GMT
You need to add something to tell the HTML to go to a new line.
For instance, you can add Me.Controls.Add(New LiteralControl("<br/>"))
after each control.
-Phil
kurt sune - 20 Jul 2005 14:35 GMT
Thanks, you saved my day!
> You need to add something to tell the HTML to go to a new line.
>
> For instance, you can add Me.Controls.Add(New LiteralControl("<br/>"))
> after each control.
>
> -Phil
Eliyahu Goldin - 20 Jul 2005 14:30 GMT
Use an html table with 1 column and 4 rows.
Eliyahu
> I try to position 4 controls above each other in a placeholder web server
> control.
[quoted text clipped - 9 lines]
>
> /k