Not sure that i understood your problem.
How do you output any HTML to the browser.
Exactly the same way you can output that particular HTML.
Use Response.Write or just put that HTML code into aspx file.
George.
"Marcel Balcarek" <ma*************@REM-OVEMEtoxicall.com> wrote in message
news:O5*************@TK2MSFTNGP10.phx.gbl...
Thanks George,
But how do I send this code from the server using code behind?
Do I use the response object? a Write method?
I am unclear about how this code is to replace the normally generated
client HTML.
Marcel
"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl... reply back with simple HTML
<html>
<body>
window.close();
</body>
</html>
If this is a window that was opened by window.open then it will be
closed without prompt.
George.
"Marcel Balcarek" <ma*************@REM-OVEMEtoxicall.com> wrote in
message news:Of**************@TK2MSFTNGP12.phx.gbl... I have a sub-window. When I click 'OK' I want to:
post back to to my server code, persist some data and close the
sub-window.
I don't know how to close the subwindow in server code.
Marcel