Help: How to open a new window with Server.Transfer?

  • Thread starter Thread starter JohnG
  • Start date Start date
J

JohnG

Hi All,
Can anyone tell me how to open a new window when user clicks a button?
Thanks.

John
 
Hi, Steve,
Thank you for the reply. Will this method be able to pass data (page
property) to the new page? I want to pass data to the destination page using
page property.

John.
 
You could pass data to the new page via Session State.
Or you could do it via querystring like this:
window.open('WebForm2.aspx?MyID=43','_new')
 

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

Back
Top