BUG: InfoViewer Becomes Inoperable After Window.Close Is Called

ID: Q178039


The information in this article applies to:


SYMPTOMS

InfoViewer ceases to function after browsing a page with client-side script that contains the Window.Close command. Trying to browse other pages with InfoViewer causes a blank error message to appear.


CAUSE

InfoViewer is not capable of closing itself from within the Visual Studio shell. The conditions that cause this behavior are:


RESOLUTION

Use Internet Explorer to view the page that calls the "window.close" method.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

Steps to Reproduce Behavior:

  1. Add a new .htm file to an existing Visual InterDev project. Name the file "test.htm."


  2. Copy the following code and paste it into the file created in the previous step:
    
          <INPUT TYPE="button" NAME="Button1" VALUE="Close Window"
          onClick="window.close()"> 


  3. Save the file.


  4. Preview the file above in the InfoViewer. If you don't have "InfoViewer" set as your default browser within Visual InterDev, right-click the file in the "FileView" pane and then, from the context menu, select "Browse With" and then "InfoViewer."



Keywords          : kbnokeyword kbVisID kbVisID100 kbGrpASP 
Version           : WINDOWS:1.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 10, 1999