Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

Opening two windows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BigJohn - 06 Dec 2007 15:38 GMT
I have a page which enables filter values to be entered and a View button
which opens a new window using
javascript:window.open('http://myurl?parameterlist','_blank').  The client
needs to see two filtered reports side-by-side from the same screen.

Scenario:
- enter filter criteria (e.g. date 12/05/2007)
- select View
- new window opens with filtered PDF displayed
- return to first form
- change filter (e.g. date 12/03/2007)
- select View
- need to open a third window with new PDF, but the second window is being
opened with the updated content.

Suggestions?
Jacques - 06 Dec 2007 16:05 GMT
This seems to be less of a Asp.Net issue and more HTML.

Have you tried:

<a href="#" onclick="window.open('http://www.live.com','_blank');return
false;">Test me</a>

The return false after the window.open statement will stop the document in
the browser from jumping around, but essentially that code should do the
trick.

Cheers
Jacques

> I have a page which enables filter values to be entered and a View button
> which opens a new window using
[quoted text clipped - 12 lines]
>
> Suggestions?
Walter Wang [MSFT] - 07 Dec 2007 03:34 GMT
Hi bigjohn,

The "_blank" parameter passed to window.open should open a new window every
time it invoked, do you mean that it always opens in your second window on
your side?

As Jacques mentioned, this issue doesn't seem to be related to ASP.NET and
is purely HTML issue. Could you please create a simpler html page and have
a test?

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.