Open a *new* window?

  • Thread starter Thread starter David Albany
  • Start date Start date
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
 
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.
 
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)
 
Back
Top