A frame in a frameset may become blank on an ASP page or in an ASP.NET application (840545)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 6.0
- Microsoft Internet Explorer (Programming) 6 (SP1)
SYMPTOMSIf you programmatically call the submit function in a form, and the form is on a page in a frameset, the response may not appear. Instead, the frame may become blank.
Typically, this problem occurs on an ASP page or in a Microsoft ASP.NET application that has the postback function enabled on a control that contains items that the user selects, such as ListBox control or a DropDownList control. This problem occurs when the user changes the selected item in the control.CAUSEThis problem is a timing bug. This problem may occur if a call is made to the submit function from an onchange event handler at the same time that a response for a POST request is received.
In ASP.NET, this problem may occur if the user clicks a new item in the ListBox control or in the DropDownList control at the same time that the response for the previous postback request is received.WORKAROUNDTo work around this problem, use one of the following methods: - Workaround 1
Wait until the onchange event has completed and then call the submit function later by using a Timeout function. - Workaround 2
Prevent the user from performing another POST request by changing the HTML page in the onbeforeunload event.
For more information about how to use these workarounds, see the "More information" section. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 4/27/2004 |
---|
Keywords: | kbpending kbbug KB840545 kbAudDeveloper |
---|
|