Question about Response.Write

T

Terry Olsen

Is there any way to make response.write NOT be the first thing on the
page? I have a page with the title and a sub title (not labels or
anything, just typed into the designer). I want the response.write text
to appear below the titles and formatted (bold, sized, centered, etc).
Thanks.
 
B

Bruce Barker

response.write writes to the output steam when its called. controls write to
the response stream during onrender. to have response.write appear between
two controls, you have to call it between the rendering of the controls.
override the onreder of the page, then iterate your children, call the
render, then response.write after the proper control.

it would be easier to use a placeholder control.

-- bruce (sqlwork.com)
 
T

Terry Olsen

I have a text file that I allow a supervisor to edit. This file contains a
list of items required in disaster recovery kits. When someone views the
web page, I want it to display the contents of the file between the header &
footer of the page. I will try the label idea. I just thought there would
be a way to avoid using any controls on this particular page.
 

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
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top