Author: nomad311 | Posted on: 12/15/2008 2:40:01 PM | Views : 344

I've been unable to figure this one out myself and my searches haven't helped at all, I am simply trying to programmatically add line breaks to my page. Using:
div1.Controls.Add(New HtmlGenericControl("br"))

works, but adds the line break twice for each instance which looks pretty bad. How can I add a simple line break to a Panel object? These forms I'm creating are fairly complex so writing direct HTML, ie something like Response.write("<br />") isn't going to help much.

Thanks for the help,

-nomad311
...

Go to the complete details ...