Ask a Question related to ASP.NET General, Design and Development.
-
David Albany #1
Open a *new* window?
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 Albany Guest
-
Page_Load not fired when window.open used to load window.
Hello John, Did you mean that the problem only happens after you upgrade to VS 2003 and framework 1.1? Does the problem exist in VS 2002 and... -
New Window Target doesn't open a new window inContribute but does in Firefox
I have made the neccessary steps to allow a link to open in a new window by choosing "New Window" as the Target, and when testing the published page... -
window.open - resizing a window
Is there a way to resize a window once it is opened through java:window.open I want to run a series of animations in a single window, however the... -
don't open new window
Is there the possibility of not permiting the user of opening two windows of the same web site? Thanks ... -
How to get a OPEN/SAVE dialog option window when open Excel from IE browser.
I use the following to open Excel from IE browser, but I don't get a OPEN/SAVE dialog option window. Instead, the Excel opened in the browser... -
Learning SQL Server #2
Re: Open a *new* window?
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.
"David Albany" <david.albany@milatko.co.uk> wrote in message
news:0b5501c360bd$1b03b8a0$a501280a@phx.gbl...> 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
Learning SQL Server Guest
-
Chris Jackson #3
Re: Open a *new* window?
Do it on the client side using javascript - window.open.
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
--
"David Albany" <david.albany@milatko.co.uk> wrote in message
news:0b5501c360bd$1b03b8a0$a501280a@phx.gbl...> 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
Chris Jackson Guest
-
Alex K #4
Re: Open a *new* window?
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
[email]alex-krupoff@mailbits.com[/email]
"David Albany" <david.albany@milatko.co.uk> wrote in message
news:0b5501c360bd$1b03b8a0$a501280a@phx.gbl...> 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
Alex K Guest



Reply With Quote

