Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

IE7 + Vista - Window.Open issue

Closed Thread
 
Thread Tools Display Modes
Old 10-03-2007   #1 (permalink)
Ganesh
Guest


 

IE7 + Vista - Window.Open issue

This is an issue related to IE 7 on Vista OS. Whenever user clicks a link
that opens a new window using window.open, parent window throws JavaScript
exception with message "window object is null or undefined. Do you want to
continue?" But this works fine on IE 6 (or IE 7) in other OS like Windows
XP.



In Vista, if we disable the "Protected Mode" option in IE settings, then
this error is not occurring. So it means window is not allowing opening the
new window in protected mode.



One link where a discussion resembles this sort of issue is:
http://forums.microsoft.com/MSDN/Sho...67012&SiteID=1. From
the discussion thread, it looks like that we cannot manipulate the instance
of the window created through window.open(url,name,.) method. On this basis,
just for a trial, we've commented all the code that manipulates window (as
below)





window.open(navigatorUrl, "Nav1",
"width=1024,height=768,menubar=no,statusbar=no,toolbar=no,navigationbar=no,resizable=yes");

// navigatorWindow = document.open(navigatorUrl, "Navigator",
"width=1024,height=768,menubar=no,statusbar=no,toolbar=no,resizable=yes");

// navigatorWindow.opener = window;

// navigatorWindow.focus();



At first instance it seemed to work. But, later we noticed that, it was
creating different tabs of the same page in single window if user clicks the
same link multiple times.



So to summarize our requirement is as follows-



1) To get rid of JavaScript error that is occurring on Vista/IE7 on
Window.Open.

2) It should open single instance with single tab of the window on clicking
same link multiple times.


Old 10-03-2007   #2 (permalink)
Scott M.
Guest


 

Re: IE7 + Vista - Window.Open issue

How does this relate to ASP .NET?


"Ganesh" <junk@xxxxxx> wrote in message
news:OvK1bQdBIHA.536@xxxxxx
Quote:

> This is an issue related to IE 7 on Vista OS. Whenever user clicks a link
> that opens a new window using window.open, parent window throws JavaScript
> exception with message "window object is null or undefined. Do you want to
> continue?" But this works fine on IE 6 (or IE 7) in other OS like Windows
> XP.
>
>
>
> In Vista, if we disable the "Protected Mode" option in IE settings, then
> this error is not occurring. So it means window is not allowing opening
> the new window in protected mode.
>
>
>
> One link where a discussion resembles this sort of issue is:
> http://forums.microsoft.com/MSDN/Sho...67012&SiteID=1.
> From the discussion thread, it looks like that we cannot manipulate the
> instance of the window created through window.open(url,name,.) method. On
> this basis, just for a trial, we've commented all the code that
> manipulates window (as below)
>
>
>
>
>
> window.open(navigatorUrl, "Nav1",
> "width=1024,height=768,menubar=no,statusbar=no,toolbar=no,navigationbar=no,resizable=yes");
>
> // navigatorWindow = document.open(navigatorUrl, "Navigator",
> "width=1024,height=768,menubar=no,statusbar=no,toolbar=no,resizable=yes");
>
> // navigatorWindow.opener = window;
>
> // navigatorWindow.focus();
>
>
>
> At first instance it seemed to work. But, later we noticed that, it was
> creating different tabs of the same page in single window if user clicks
> the same link multiple times.
>
>
>
> So to summarize our requirement is as follows-
>
>
>
> 1) To get rid of JavaScript error that is occurring on Vista/IE7 on
> Window.Open.
>
> 2) It should open single instance with single tab of the window on
> clicking same link multiple times.
>
>

Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
xbox 360 window media extender and vista home premium issue richie .NET General 1 03-31-2008 11:46 PM
Vista window resize issue Acrobat, VS2008 and others arch Vista networking & sharing 0 03-14-2008 07:14 AM
Vista / Window Mail ISP Password Issue Tom's Mail Vista mail 1 10-02-2007 02:15 AM
program runs on Vista Home Premium but does not open maion window Helena Vista General 5 04-30-2007 03:17 PM
open each folder in its own window does not work in Vista gtest Vista installation & setup 0 02-20-2007 05:28 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50