once rendered your control will have to initiate a postback in order to
write. ie on click of something you can cause a postback and then your
control can write appropriate output. if the page is in a rendered state
there is not page class and there is no instance of your user control in
current context of the server.
hope it came across clearly
--
Regards,
Hermit Dave
(
http://hdave.blogspot.com)
"John Cosmas" <va*****@msn.com> wrote in message
news:#j**************@tk2msftngp13.phx.gbl...
If I included a UserControl in a form, and them tell it to Response.Write
some code, will the resulting client script work after the page is
rendered. Let's say that I instructed the User Control in the form, to
Response.Write a Window.Open instruction...
John Cosmas