Microsoft KB Archive/263312

= Canceling the Closing of a Modal Dialog Box Causes Box to Close Anyway =

Article ID: 263312

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01

-



This article was previously published under Q263312



SYMPTOMS
Setting event.returnValue inside an onbeforeunload event for a window causes Internet Explorer to prompt you whether you want to close the current window. In a modal dialog box, if you instruct Internet Explorer to keep the window open, the window may close anyway. This issue affects windows that are created with the window.showModalDialog and window.showModelessDialog functions.



RESOLUTION
To resolve this problem, obtain the latest service pack for Internet Explorer version 5.01. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

267954 How to Obtain the Latest Internet Explorer 5.01 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer version 5.01 Service Pack 2.

Keywords: kbbug kbfix kbqfe kbprogramming kbui kbie501presp2fix kbhotfixserver KB263312

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.