P
PeeBee
I have researched the issue of setting the title of a window created
with a call to showModalDialog. I have found numerous articles, but
nothing that answers my particular case (Code abbreviated for
simplicity):
in spawner.aspx -
<script>
window.showModalDialog('dialog.htm');
</script>
in dialog.htm -
<html>
<body>
<iframe src="iframe.aspx"></iframe>
</body>
</html>
in iframe.aspx - not important
----
what script should i stream back to the client from the iframe.aspx
code-behind so that the title of the dialog window is changed at
run-time? i have seen articles that spoke of a bug with dialogs that
prevent DHTML methods for setting the title, but supposedly it can be
set on the server side.
I have yet to see a working example of this.
Thanks for any help you can offer.
with a call to showModalDialog. I have found numerous articles, but
nothing that answers my particular case (Code abbreviated for
simplicity):
in spawner.aspx -
<script>
window.showModalDialog('dialog.htm');
</script>
in dialog.htm -
<html>
<body>
<iframe src="iframe.aspx"></iframe>
</body>
</html>
in iframe.aspx - not important
----
what script should i stream back to the client from the iframe.aspx
code-behind so that the title of the dialog window is changed at
run-time? i have seen articles that spoke of a bug with dialogs that
prevent DHTML methods for setting the title, but supposedly it can be
set on the server side.
I have yet to see a working example of this.
Thanks for any help you can offer.