G
Gav
Hi all,
I have created a user control and I am using Response.Write in the control
to 'write' exactly what I want although it always goes to the top of the
page (above <HTML><HEAD> etc). Can I get it so that it writes it where the
control is on the page?
ie
<html>
blah blah
<body>
<H1> my control </h1>
<webusercontrol:mycontrol />
<html>
at the minute if I do repsonse.write("test") in the user control it writes
like this to the client:
test
<html>
blah blah
<body>
blah blah
<H1> my control </h1>
<html>
where as I would want it to put it where the control is:
<html>
blah blah
<body>
<H1> my control </h1>
test
<html>
Thanks
Gav
I have created a user control and I am using Response.Write in the control
to 'write' exactly what I want although it always goes to the top of the
page (above <HTML><HEAD> etc). Can I get it so that it writes it where the
control is on the page?
ie
<html>
blah blah
<body>
<H1> my control </h1>
<webusercontrol:mycontrol />
<html>
at the minute if I do repsonse.write("test") in the user control it writes
like this to the client:
test
<html>
blah blah
<body>
blah blah
<H1> my control </h1>
<html>
where as I would want it to put it where the control is:
<html>
blah blah
<body>
<H1> my control </h1>
test
<html>
Thanks
Gav