473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

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
Nov 17 '05 #1
3 1289
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" <da**********@milatko.co.uk> wrote in message
news:0b****************************@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

Nov 17 '05 #2
Do it on the client side using javascript - window.open.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
--
"David Albany" <da**********@milatko.co.uk> wrote in message
news:0b****************************@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

Nov 17 '05 #3
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
al**********@mailbits.com

"David Albany" <da**********@milatko.co.uk> wrote in message
news:0b****************************@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

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page...
6
by: lukeo | last post by:
I'm shelling out to an .asp (or htm) page from an application. I want to show this in a window without the address bar, etc... Is there a way I can redirect this page using javascript to a page...
10
by: Marshall Dudley | last post by:
When I do the following line in Netscape, the popup loads as it should, but the parent window usually, but not always, reloads as well. <a href="#"...
2
by: Samir Pandey | last post by:
Hello, I am using the following javascript code to open a new window. Somehow, IE always opens a new window. It doesn't open target url in the window name given. All i want is, if there is a...
8
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var...
23
by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div...
18
by: Roger Withnell | last post by:
I open a new window from the current window to display maps. Several maps of different sizes can be displayed. The function is given the size of the map and adjusts the window size accordingly....
2
by: carlor | last post by:
Hi there, I have a form that contains a link button. When the user clicks the link button I need to enable a couple of other buttons on the page and open a new browser window giving it focus...
4
by: Csaba Gabor | last post by:
Up until a few weeks ago, javascript code like window.open("http://mydomain.com", "windowName"); would always bring my new or reused window to the top, with focus. Lately, Firefox (Deer park...
13
by: Geoff Fox | last post by:
I am in the final moments of designing a new website. One of the pages (http://www.auditionfactory.com/samples.php) has four links to show sample work. I would like these links to open new...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.