Windows Vista Forums

IE7 + Vista - Window.Open issue
  1. #1


    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.



      My System SpecsSystem Spec

  2. #2


    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

    > 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.
    >
    >


      My System SpecsSystem Spec

IE7 + Vista - Window.Open issue problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening an hidden Window with window.open (HTML) MassimoP VB Script 4 28 Aug 2009
vista window updater open up with a blank explorer Ettasy Windows Updates 4 06 Mar 2009
Vista window resize issue Acrobat, VS2008 and others arch Vista networking & sharing 0 14 Mar 2008
Vista / Window Mail ISP Password Issue Tom's Mail Vista mail 1 02 Oct 2007
open each folder in its own window does not work in Vista gtest Vista installation & setup 0 20 Feb 2007