The TextChanged event of a TextBox control may not fire if the AutoComplete feature is enabled in Internet Explorer (873198)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
SYMPTOMSWhen you enable the AutoComplete feature of forms in Microsoft Internet Explorer and then you select any text from the AutoComplete drop-down list of a TextBox control in a Web application, the TextChanged event of the TextBox control does not fire even though the text in the TextBox control changes.CAUSE This behavior occurs because Internet Explorer cannot fire the TextChanged event of a TextBox control when you select text from the drop-down list by using the AutoComplete feature.WORKAROUNDTo work around this behavior, disable the AutoComplete feature of the Web form. To do this, follow these steps: - In Solution Explorer, right-click WebForm1.aspx, and then click View Designer.
- Switch to the HTML view of WebForm1.aspx.
- Locate the following code:
<form id="Form1" method="post" runat="server"> - Replace the code that you located in step 3 with the following code:
<form id="Form1" method="post" runat="server" autocomplete="off">
STATUS
This behavior is by design.REFERENCESFor more information, visit the following Microsoft Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 11/5/2004 |
---|
Keywords: | kbprb kbControl kbProperties kbWebForms kbtshoot KB873198 kbAudDeveloper |
---|
|