Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AJAX update panel inserting line breaks

0 views
Skip to first unread message

Emma Middlebrook

unread,
Apr 23, 2008, 10:21:30 AM4/23/08
to
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

Murtaza

unread,
Apr 23, 2008, 12:00:13 PM4/23/08
to
try inserting <br /> between questions.
0 new messages