Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Postback Is Not Fired with Netscape Browser When the Form Is Inside a WebControl


View products that this article applies to.

Symptoms

When you declare an ASP.NET HTML <form> tag inside a WebControl, a postback may not fire if the target Web browser is a Netscape browser.

↑ Back to the top


Cause

This problem occurs because the __doPostBack client-side script that ASP.NET renders uses a syntax that Netscape browsers do not recognize.

↑ Back to the top


Resolution

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft .NET Framework service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version        Size       File Name
   --------------------------------------------------------------
   17-Jun-2002  20:44  1.0.3705.290     192,512  Aspnet_isapi.dll
   17-Jun-2002  20:44  1.0.3705.290      28,672  Aspnet_wp.exe
   18-Jun-2002  12:50  1.0.3705.290   1,187,840  System.Web.dll
				

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

The following code is an example of HTML code that ASP.NET renders:
<form name="WebUserControl1:Form1" method="post" action="WebForm1.aspx" id="WebUserControl1_Form1">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />

<script language="javascript">
<!--
	function __doPostBack(eventTarget, eventArgument) {
		var theform = document.WebUserControl1_Form1;
		theform.__EVENTTARGET.value = eventTarget;
		theform.__EVENTARGUMENT.value = eventArgument;
		theform.submit();
	}
// -->
</script>
</form>
				
After you apply this hotfix, ASP.NET renders this code as follows:
<form name="WebUserControl1:Form1" method="post" action="WebForm1.aspx" id="WebUserControl1_Form1">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />

<script language="javascript">
<!--
	function __doPostBack(eventTarget, eventArgument) {
		var theform = document.forms["WebUserControl1:Form1"];
		theform.__EVENTTARGET.value = eventTarget;
		theform.__EVENTARGUMENT.value = eventArgument;
		theform.submit();
	}
// -->
</script>
				
The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: KB324735, kbqfe, kbnetframe100presp3fix, kbfix, kbbug, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 324735
Revision : 7
Created on : 10/11/2005
Published on : 10/11/2005
Exists online : False
Views : 459