Open newly created HTML page in new window?

M

mcmwhite

Hi,

Does anyone know how I can open a newly-created HTML page
in a new window, using ASP.NET?

Eg. I have an ASP.NET page which creates some new HTML, based
on what the user has entered into a textbox. The ASP page
has a textbox (txtYourName) and a button. Clicking the button
will run this piece of code:


Page.aspx
---------

Response.Write("<b>Hello there " & txtYourName.Text & ", how are
you?</b>")



But I want this HTML to appear in a new browser window (like a pop-up
window),
rather than in the original page. I also want the original page to
remain
in the "old" window.

Is this possible?

Thanks,

Mark.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top