Open a *new* window?

D

David Albany

I would like my web app to open a new browser window,
similar to a standard target="_blank" form tag.

The new page must preserve Session information, and have
control passed to the Form_Load event.

I have tried Server.Transfer, Response.Redirect and
setting the form target to "_blank", but none of these
have worked.

Please any help?

Thanks
David Albany, Developer
Milatko Communications
 
L

Learning SQL Server

David:

AFAIK, you cannot maintain session state between separate browser windows.
You will need to use another method of state persistence, IE querystrings,
cookies, etc.
 
A

Alex K

to open new window you have 2 choices
1. add target="_blank" to form tag
2. use javascript
on server side cmdLink.Attributes.Add("onclick",
"javascript:window.open(.............);")
both choices will preserve session
Alex
(e-mail address removed)
 

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

Top