AJAX update panel inserting line breaks

E

Emma Middlebrook

Hi,

I've implemented an AJAX update panel on one of my ASP.NET web pages.
I generate and add controls to it dynamically. What I would like to do
is tell it to start a new line before adding the next batch of
controls.. Is that possible..? Currently it is just appending to the
current line and wrapping around when it reaches the end of the
display area.

E.g. The panel populates a list of questions and radio buttons for the
answers and it looks like this:

1.1 Question One goes here? [ ] Yes [ ] No 1.2 Question Two appears
here? [ ] Yes [ ] No 1.3 Question Three wraps around? [ ] Yes [ ] No

I would like them to be like this on the webpage:

1.1 Question One goes here? [ ] Yes [ ] No
1.2 Question Two appears here? [ ] Yes [ ] No
1.3 Question Three here? [ ] Yes [ ] No

I thought that maybe I could write out some html or something to the
output stream but I really have no idea.. Any help would be greatly
appreciated.

Thanks

Emma
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top