I want 2 autocomplete textboxs in single aspx page.... first autocomplete textbox is working but second textbox is not working... Is this possible???? please let me know if possible.... Thank u........
here is my Code
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="AutoComplete.asmx" />
</Services>
</asp:ToolkitScriptManager>
<asp:TextBox ID="City" runat="server" Text="" OnTextChanged="City_TextChanged" AutoPostBack="True" MaxLength="200" ></asp:TextBox>
<asp:AutoCompleteExtender runat="server" ID="autoComplete1" TargetControlID="City"
ServicePath="~/AutoComplete.asmx" ServiceMethod="GetCity4Txt" MinimumPrefixLength="1"
CompletionInterval="1" DelimiterCharacters=";,:" CompletionSetCount="20" EnableCaching="true" BehaviorID="AutoCompleteEx" />
<asp:TextBox ID="Area" runat="server" Text="" OnTextChanged="Area_TextChanged" AutoPostBack="True" MaxLength="200" ></asp:TextBox>
<asp:AutoCompleteExtender runat="server" ID="autoComplete2" TargetControlID="Area"
ServicePath="~/AutoComplete.asmx" ServiceMethod="Area4Txt" MinimumPrefixLength="1"
CompletionInterval="1" DelimiterCharacters=";,:" CompletionSetCount="20" EnableCaching="true" BehaviorID="AutoCompleteEx" />