开发者

Open a new browser window from an asp.net page AND output to it? [duplicate]

开发者 https://www.devze.com 2023-01-01 08:31 出处:网络
This question already has answers here: How to write JavaScript to a separate window? (2 answers) Closed 8 years ago.
This question already has answers here: How to write JavaScript to a separate window? (2 answers) Closed 8 years ago.

How can I open a new browser tab in ASP.NET and write to it? I 开发者_运维问答don't want to redirect to a page but I want to write/output the content directly from source.


You'll need to use JavaScript to do this then - look into window.open. Once you open a new window, you can access its document object to write the contents of it programatically.

0

精彩评论

暂无评论...
验证码 换一张
取 消