Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

AJAX update panel inserting line breaks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Emma Middlebrook - 23 Apr 2008 15:21 GMT
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 - 23 Apr 2008 17:00 GMT
try inserting <br /> between questions.

> Hi,
>
[quoted text clipped - 24 lines]
>
> Emma

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.