When working in ASP.NET 4.5, I utilize the AutoCompleteExtender from the AjaxControlToolkit along with input fields like DropDownList that have AutoPostBack set to True.
Everything operates smoothly in Firefox and Chrome, but there is an issue in IE browsers. During an autopostback, users briefly see all normally hidden content (using CSS or JavaScript). This includes elements such as the DIV element used for displaying AutoCompleteExtender results. After the page reloads, everything appears normal again.
Here is a snippet of the code:
<asp:HiddenField ID="hf_street" ClientIDMode="Static" OnValueChanged="hf_street_ValueChanged" runat="server" />
<asp:textbox id="tb_street" AutoPostBack="false" runat="server" />
<ajaxToolkit:AutoCompleteExtender
ID="ace_street"
ServiceMethod="GetCompletionList2"
EnableCaching="false"
OnClientItemSelected="ace2_ClientItemSelected"
CompletionSetCount="10" CompletionInterval="100"
CompletionListElementID="div_street"
CompletionListCssClass="autocomplete_completionListElement"
CompletionListItemCssClass="autocomplete_listItem"
CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem"
TargetControlID="tb_street" MinimumPrefixLength="1"
UseContextKey="True" FirstRowSelected="false" runat="server">
</ajaxToolkit:AutoCompleteExtender>